Tone Pill

Most chosen
About this component

Tone Pill

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.

Usage

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"
/>

Props

Read from the component's own type, so this cannot drift from what it accepts.

PropTypeDefaultDescription
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
classNamestring—Additional classes merged onto the root

More Badge components

View all Badge
Product

AI inbox for small teams