Leave Yamada UI a star

Star
Yamada UIYamada UIv1.5.1

Badge

Badge is a component that emphasizes the status of an item to make it immediately recognizable.

Source@yamada-ui/badge

Props

BadgeProps

colorScheme

Description

The visual color appearance of the component.

Type

"whiteAlpha" | "blackAlpha" | "gray" | "neutral" | "red" | "danger" | "rose" | "pink" | "flashy" | "orange" | "warning" | "amber" | "yellow" | "lime" | "green" | "success" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "primary" | "info" | "link" | "indigo" | "violet" | "secondary" | "purple" | "fuchsia"

Default

primary

size

Description

The size of the Badge.

Type

string

variant

Description

The variant of the Badge.

Type

"solid" | "subtle" | "outline"

Default

subtle

Edit this page on GitHub

PreviousTagNextKbd