# Badge Container

The [BadgeContainer](https://www.telerik.com/kendo-react-ui/components/indicators/api/badgecontainer) component allows you to target text, HTML elements or React components that cannot have children, by wrapping both the targeted element and the Badge inside a BadgeContainer component.

> When using the Badge component without the BadgeContainer component, make sure the HTML element or React component that contains a badge has css position other than [`static`](https://developer.mozilla.org/en-US/docs/Web/CSS/position) and allows [`overflow`](https://developer.mozilla.org/en-US/docs/Web/CSS/overflow) content.

The following example demonstrates both approaches in action.

[Demo Source](https://demos.telerik.com/kendo-react-ui/indicators/badge/container/func/source.txt)

## Suggested Links

* [API Reference of the BadgeContainer](https://www.telerik.com/kendo-react-ui/components/indicators/api/badgecontainer)
* [API Reference of the BadgeContainerProps](https://www.telerik.com/kendo-react-ui/components/indicators/api/badgecontainerprops)
* [API Reference of the Badge](https://www.telerik.com/kendo-react-ui/components/indicators/api/badge)
* [API Reference of the BadgeProps](https://www.telerik.com/kendo-react-ui/components/indicators/api/badgeprops)
