# Position Settings

You can position and align the Blazor Badge component relative to its parent container by using the available parameters.

## Position

The Position parameter accepts a member of the BadgePosition enum and controls the placement of the badge in relation to its parent container:

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Enum member             | Description                                                                                                                                                         |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Edge` <br /> (default) | The center of the Badge is at a corner of the parent container.                                                                                                     |
| `Inline`                | The Badge renders as part of the normal content flow of the web page. The `HorizontalAlign` and `VerticalAlign` parameters have no effect with `Inline` `Position`. |
| `Inside`                | The Badge renders entirely inside the parent container.                                                                                                             |
| `Outside`               | The Badge renders entirely outside the parent container.                                                                                                            |

Refer to the [example](https://www.telerik.com/blazor-ui/documentation/components/badge/position#example) below to customize the available parameters and observe their impact on the Badge component.

## Alignment

Use the available alignment parameters to control which side of the Badge touches the parent container.

<style>
    .article table {
        table-layout: auto;
        word-break: normal;
    }
</style>

| Parameter         | Type                   | Enum Members                          |
| ----------------- | ---------------------- | ------------------------------------- |
| `HorizontalAlign` | `BadgeHorizontalAlign` | `Start` <br /> `End` (default value)  |
| `VerticalAlign`   | `BadgeVerticalAlign`   | `Top` (default value) <br /> `Bottom` |

Refer to the [example](https://www.telerik.com/blazor-ui/documentation/components/badge/position#example) below to customize the available parameters and observe their impact on the Badge component.

## Example

The following example lets you experiment with the available settings that control the position and alignment of the Badge. It starts with the default component behavior.

<demo metaUrl="client/badge/position/" height="400"></demo>

## See Also

* [Live Demo: Badge Position](https://demos.telerik.com/blazor-ui/badge/position)
