Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-status-mark.json --yes

Status mark

Pro

A small icon that shows an item's status, such as to do, in progress or done, in a list, a board or a record, for React and Tailwind CSS. Part of Goop Pro.

When to use

  • A small icon that shows an item's status, such as to do, in progress or done, in a list, a board or a record.

Installation

Paste the prompt below into your coding agent. It reads Goop's install steps, installs the part and its tokens once, then reuses this same Status mark on every screen instead of drawing a new one: the same height, the same focus ring, the same spacing. As a Pro part, its command comes from Goop's server once you sign in, with a one-time link that lasts ten minutes.

Terminal
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-status-mark.json --yes
PROMPT
Add the Goop Status mark to this project. The install steps are at https://goop.so/docs/install.md

Usage

TSX
import { StatusMark } from '@/components/ui/goop/status-mark';

<>
  <h1 className="flex items-center gap-2 text-4xl font-medium">
    <StatusMark status="in-progress" size="lg" />
    Checkout redesign
  </h1>
  <StatusMark status="in-review" label />
  <StatusMark status={{ name: 'Waiting on customer', icon: 'mail', variant: 'warning' }} label />
  <StatusMark status="done" label="wide" />
  <StatusMark status={{ name: 'Low', icon: 'alert-triangle', variant: 'warning' }} label="wide" />
</>
  • Fits: board, list, record, states (their recipes).
  • Also known as: StatusIcon, StatusIndicator, StatusBadge, IssueStatus, WorkflowState.
  • In a Select or a Combobox, hand the mark to an option as its mark (size="sm"). In a Badge, a Board card or a list row, the mark alone carries the status. In a table's status column, label="wide". A stock level is a team's own status per level: { name: 'In stock', icon: 'circle-check', variant: 'success' }, Low with alert-triangle in warning, Out of stock with circle-x in destructive.
  • width, gap, text: add no class for these.

API reference

Options
OptionTypeWhat it does
status'backlog' | 'todo' | 'in-progress' | 'in-review' | 'done' | 'cancelled' | StatusCustomThe status: one of the six kinds, or a team's own.
variant?StatusVariant | 'primary'Its colour over the kind's own, by what it means (default, info, success, warning, destructive), or the accent (primary).
label?boolean | 'wide' | (string & {})The words after the icon: true the status's own, a string your own, "wide" the status's own but the icon alone in a table cell on a phone.
size?'sm' | 'md' | 'lg' = 'md'The icon's step: 14 px (sm, a chip), 16 px (md, a row) or 20 px (lg, beside a heading).
  • Types: StatusCustom = { name: string; icon: IconName; variant?: StatusVariant | 'primary' }
  • data-slot values (to select a part by): status-mark, status-mark-icon, status-mark-label

Notes for AI

Give your coding agent this page as text instead of screenshots: the parts, the options, the states and the keys. An agent that reads the real part builds the real part, not a lookalike.

goop.so/themes/trail/components/status-mark.md · the page as Markdown
Theme
Install with your agentnpx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-status-mark.json --yes

Where would you like to start?

Free · now

The Goop plugin

A design system for your AI coding agent, so screen ten matches screen one.

/plugin marketplace add goop-so/skillsthen /plugin install goop@goopCodex, Cursor, ChatGPT, the Claude app and more: Connect Goop
FreePro

The components

Every part live, with its props, its keys and what an agent sees. Whole page and app templates, working with sample data.