Badge Wrapper Component
A wrapper component to position a badge relative to an anchor.
Properties
Name | Type | Default | Description |
---|---|---|---|
anchor-shape | "rectangle" | "circle" | "pill" | "rectangle" | The shape of the anchor. |
badge-side | "left" | "right" | "right" | The horizontal placement of the badge. |
badge-alignment | "top" | "middle" | "top" | The vertical alignment of the badge. |
Slots
Name | Description |
---|---|
default | The default slot for the anchor element. |
badge | The slot for the badge to be positioned. |