Badge
A small, attention-grabbing UI element used to display notifications, status indicators, or counts in a compact format. It draws attention to key details.
Basic
A badge is a small label that displays additional information, such as a count or status. It's commonly used to highlight something important, like unread messages, notifications, or status updates. Think of it as a quick visual cue to grab your attention.
Installation
Install the component via the CLI in one command.
npx shadcn@latest add @intentui/badge
Manual installation
Use this approach if you prefer to install and wire up the component yourself instead of using the CLI.
Intent
Badges come in a variety of colors: primary, secondary, success, info, warning, danger, light, dark, and light/dark. You can even use custom colors if you want.
Shape
By default, badges are square, but you can switch to a circular shape if desired.
Design Intent UI
Build modern web apps faster with 1000+ resources across components, blocks, patterns, templates, and starter kits.