Components

Status Badge

An indicator for displaying status labels with predefined styles.

Logo

Placements

Use the placement prop to change the badge direction

Status

Use the status prop to change the badge status

Sizes

Use the size prop to change the badge size

Animate

Use the animate prop to add a ping animation to the badge

API Reference

status

Type:

"online" | "offline" | "away" | "busy"

The status of the badge, one of 'online', 'offline', 'away', or 'busy'.

Default:

online
size

Type:

"md" | "lg"

The size of the badge, one of 'md', or 'lg'.

Default:

md
placement

Type:

"right-top" | "right-bottom" | "left-top" | "left-bottom"

Placement of the badge relative to the element.

Default:

left-top
className

Type:

string

Optional className to be applied to the badge container.

Default:

badgeClassName

Type:

string

Optional custom class to be applied to the badge.

Default:

animate

Type:

boolean

Default:

false