Badge
A label for status, category, or other short text.
Badge Default
<Badge>badge</Badge>Installation
pnpm add @notion-kit/uiOptions
Variant
Use the variant prop to control the visual style of the badge.
The default variant is "default".
Badge Variants
<Badge variant="default">default</Badge>
<Badge variant="gray">gray</Badge>
<Badge variant="blue">blue</Badge>
<Badge variant="orange">orange</Badge>
<Badge variant="tag">tag</Badge>Size
Use the size prop to control the text size of the badge.
The default size is "md".
Badge Sizes
<Badge size="sm">badge</Badge>
<Badge size="md">badge</Badge>API Reference
Badge
Badge accepts HTML <div> props and the props below.
Prop
Type