Hextech UI

Badge

Live example

Badge

Ready

Installation

Terminal
npx shadcn@latest add https://hextech-ui.vercel.app/r/badge.json

API reference

These are the main Badge options. See the exported TypeScript types for inherited native or primitive props.

PropTypeDefault
tonegold | teal | success | warning | destructive | neutralgold

Status text

Use a short readable label as well as the tone. Badge is not interactive. Place it beside the content it describes rather than using color alone to convey status.