Skip to content

Properties

PropertyTypeDescription
contentstring
number
React.ReactNode
(optional) Content of the component.
childrenReact.ReactNode(optional) Content to display the badge on top of.
verticaltop
bottom
(optional) Vertical positioning of the component. Options: bottom | top.
horizontalleft
right
(optional) Horizontal positioning of the component. Options: left | right.
classNamestring(optional) Custom className for the component.
skeletonboolean(optional) Applies loading skeleton.
variantinformation
notification
(optional) defines the visual appearance of the badge. There are two main variants notification and information. The default variant is information.
labelReact.ReactNode(optional) The label description of the badge. Only required when passing a number as the badge content.
Spacestring
object
(optional) Spacing properties like top or bottom are supported.