A small filled pill for plan flags, offers and mode chips: the bright secondary, the primary, the soft accent, or a translucent pill that takes the current text color on dark cards.
The import and the props worth knowing about, in one place.
import { Badge26 } from "@/components/beste/component/badge26";
<Badge26 label="Most chosen" />
<Badge26
label="2 months free"
tone="glass" // "secondary" (default) | "primary" | "accent" | "glass"
/>Read from the component's own type, so this cannot drift from what it accepts.
| Prop | Type | Default | Description |
|---|---|---|---|
label* | string | — | The badge text, short and in sentence case |
tone | "secondary" | "primary" | "accent" | "glass" | — | The bright secondary fill, the primary fill, the soft accent, or a translucent pill in the current text color for dark surfaces |
as | "span" | "div" | — | Render as a span (default) or a div |
className | string | — | Additional classes merged onto the root |