About
A small pill with a tinted fill, hairline border and leading colored dot used to show the state of a record, like paid, overdue or draft, in a table or list.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Status Badge to your project and fits it to your theme.
Code
How Status Badge is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { StatusBadge } from "@/components/ui/status-badge";
export default function StatusBadgeDemo() {
return (
<div className="flex flex-wrap items-center gap-3">
<StatusBadge>Draft</StatusBadge>
<StatusBadge tone="success">Paid</StatusBadge>
<StatusBadge tone="warning">Due soon</StatusBadge>
<StatusBadge tone="danger">Overdue</StatusBadge>
<StatusBadge tone="accent">Scheduled</StatusBadge>
<StatusBadge tone="info">Processing</StatusBadge>
</div>
);
}







