Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

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

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

Default

"primary"

size

Description

The size of the Badge.

Type

string

variant

Description

The variant of the Badge.

Type

"outline" | "solid" | "subtle" | "surface"

Default

"subtle"

Edit this page on GitHub

PreviousTagNextKbd