# Overview

The Badge component provides options for positioning in relation to its parent container - HTML element or React Component.

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

## Alignment

The Badge allows you to set different alignments relative to its parent container.

The available [`align`](https://www.telerik.com/kendo-react-ui/components/indicators/api/badgeprops#align) keys are:

* `horizontal`— Defines the possible horizontal alignment of the Badge.
  * `start`—Uses the start point of the parent element.
  * `end`(Default)—Uses the end point of the parent element.
* `vertical`— Defines the possible vertical alignment of the Badge.
  * `top`(Default)—Uses the top point of the parent element.
  * `bottom`—Uses the bottom point of the parent element.

> When using the Badge component without the [BadgeContainer](https://www.telerik.com/kendo-react-ui/components/indicators/api/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.

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

## Position

The Badge allows you to specify the position of the badge relative to the edge of its parent container.

The available [`position`](https://www.telerik.com/kendo-react-ui/components/indicators/api/badgeprops#position) values are:

* `edge`—(Default)The center of the badge is positioned on the edge of the parent container.
* `inside`—The badge is positioned entirely inside the parent container.
* `outside`—The badge is positioned entirely outside the parent container.
* `inline`—The badge is positioned inline without position or alignment classes.

[Demo Source](https://demos.telerik.com/kendo-react-ui/indicators/badge/position/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)
