Praise Audu

Status Badge

Component

About

Order/process status pill with soft tint + matching ring + readable foreground. Renders snake_case statuses with spaces. Use for order tables and detail headers — flat, no gradient, no glow.

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

export default function Demo() {
  return (
    <div className="flex flex-wrap items-center gap-2 p-6 bg-slate-50">
      <StatusBadge status="pending_payment" />
      <StatusBadge status="awaiting_details" />
      <StatusBadge status="generating" />
      <StatusBadge status="generated" />
      <StatusBadge status="generated" delivered />
      <StatusBadge status="failed" />
    </div>
  );
}