Dice UI

Status

Text 8

About

A pill-shaped status badge with a pulsing indicator dot and color variants for signaling online, error, warning, info, and idle states.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Status to your project and fits it to your theme.

Code

How Status is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { Status, StatusLabel } from "@/components/ui/status";

export default function StatusTextOnlyDemo() {
  return (
    <div className="flex flex-wrap items-center gap-2.5">
      <Status variant="success">
        <StatusLabel>Active</StatusLabel>
      </Status>

      <Status variant="error">
        <StatusLabel>Inactive</StatusLabel>
      </Status>

      <Status variant="warning">
        <StatusLabel>Pending</StatusLabel>
      </Status>

      <Status variant="info">
        <StatusLabel>Processing</StatusLabel>
      </Status>

      <Status variant="default">
        <StatusLabel>Draft</StatusLabel>
      </Status>
    </div>
  );
}

Dependencies

More by Dice UI

View all
  • Compare Slider

    Compare Slider

    85
  • Sortable

    Sortable

    53
  • Circular Progress

    Circular Progress

    43
  • Pending

    Pending

    30
  • Banner

    Banner

    22
  • Stack

    Stack

    13
  • Kanban Board

    Kanban Board

    12
  • Marquee

    Marquee

    11

More in Text

View all
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    129
  • Text Reveal

    Text Reveal

    39
  • Motion Blur Text

    Motion Blur Text

    43
  • Blur Reveal

    Blur Reveal

    350
  • Gradient Text Fill

    Gradient Text Fill

    53
  • Toolbar

    Toolbar

    53
  • Apple Hello Effect

    Apple Hello Effect

    654
  • Highlight Text

    Highlight Text

    166