Dice UI

Status

Text 10

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

    91
  • Sortable

    Sortable

    55
  • Circular Progress

    Circular Progress

    46
  • Pending

    Pending

    36
  • Banner

    Banner

    27
  • Kanban Board

    Kanban Board

    17
  • Stack

    Stack

    16
  • Marquee

    Marquee

    12

More in Text

View all
  • Astryx Chat Tokenized Text

    Astryx Chat Tokenized Text

    16
  • Vertical Cut Reveal Characters

    Vertical Cut Reveal Characters

    135
  • Blur Reveal

    Blur Reveal

    401
  • Scroll Fill Headline

    Scroll Fill Headline

    67
  • Text Reveal

    Text Reveal

    411
  • Per Word Crossfade

    Per Word Crossfade

    20
  • Italic Sweep Scroll Text

    Italic Sweep Scroll Text

    77
  • Apple Hello Effect

    Apple Hello Effect

    692