Badge

Badges are used to highlight an item's status for quick recognition.

    Source@chakra-ui/layout

Props#

The Badge component composes Box component so you can pass props for Box.

colorScheme

Type
"whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "linkedin" | "facebook" | "messenger" | "whatsapp" | "twitter" | "telegram"
Default
"gray"

size

Description

Sizes for Badge are not implemented in the default theme. You can extend the theme to implement them.

Type
string

variant

Type
"solid" | "subtle" | "outline"
Default
"subtle"
Edit this page on GitHub

Proudly made inNigeria by Segun Adebayo

Deployed by â–² Vercel