Mark the beat — a New tag for launches, Beta when you're still tuning, Live once it's out the door.
Installation
npx shadcn@latest add @iconiq/badgeProps
Badge
5 props
Default export for a compact label pill with a permanent shimmer pass layered behind the content.
children
ReactNodeRequired
Badge content rendered in the foreground layer so it always stays above the animated shimmer.
className
stringDefault
""Appended directly to the root span. Useful for size, radius, spacing, or border overrides.
bgColor
stringInline backgroundColor override. If omitted, the component uses a dark neutral surface in light mode and a white surface in dark mode.
textColor
stringInline text color override. If omitted, the badge picks the inverse of its default background palette.
waveColor
stringColor used for the middle stop of the animated gradient sweep. Defaults to the local CSS variable declared on the shimmer layer.
Notes
The public API does not spread other span props, so data attributes or click handlers require a local wrapper or a component fork.
Color overrides are applied through inline styles, which means they take priority over the default Tailwind utility classes.