---
agent:
  instructions: "Search goop.so for Goop's components, templates, design skill, docs, pricing and terms. Ask in keywords or a plain question, such as \"date picker props\" or \"is the design skill free\"; the answer is the matching page sections in Markdown, each with its address."
  endpoint: "https://goop.so/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Status mark

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.

Pro. Its export: `StatusMark`.

## 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.

```sh
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-status-mark.json --yes
```

```text
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

- `status: 'backlog' | 'todo' | 'in-progress' | 'in-review' | 'done' | 'cancelled' | StatusCustom` — The 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' }

## 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.

## Related

- [Priority mark](/themes/trail/components/priority-mark): A small icon that shows an item's priority, from none to urgent, in a list, a board or a record.
- [Trend chip](/themes/trail/components/trend-chip): A small chip with how much a figure rose or fell.
- [Number roll](/themes/trail/components/number-roll): A number or a few words that roll into their new value when it changes.
- [Icon tile](/themes/trail/components/icon-tile): A small square holding one icon that marks what a row, a card or a setting is about, tinted for a status.
