npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-status-mark.json --yesStatus mark
ProA small mark 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.
What an agent sees
import { StatusMark } from '@/components/ui/goop/status-mark';
function SurveyTasks() {
return (
<div className="flex flex-col gap-2 text-base">
<span className="flex items-center gap-2">
<StatusMark status="in-progress" />
Soil samples to the lab
</span>
<StatusMark status="done" label />
<StatusMark status={{ name: 'Low on sample bags', icon: 'triangle-alert', variant: 'warning' }} label size="sm" />
</div>
);
}When to use
- A small mark 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.
npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/meadow-status-mark.json --yesAdd the Goop Status mark to this project. The install steps are at https://goop.so/docs/install.mdUsage
import { StatusMark } from '@/components/ui/goop/status-mark';
function SurveyTasks() {
return (
<div className="flex flex-col gap-2 text-base">
<span className="flex items-center gap-2">
<StatusMark status="in-progress" />
Soil samples to the lab
</span>
<StatusMark status="done" label />
<StatusMark status={{ name: 'Low on sample bags', icon: 'triangle-alert', variant: 'warning' }} label size="sm" />
</div>
);
}- Also known as: StatusIcon, StatusIndicator, StatusBadge, IssueStatus, WorkflowState.
- In a list row, the mark alone carries the status before the row's title: its name is its words. In a board card's header or a week board's task,
size="sm"before the title. In a record's facts line,label: the mark with its words, as one fact among the others. A stock level is a team's own status, one per level:{ name: 'In stock', icon: 'circle-check', variant: 'success' },Lowwithtriangle-alertinwarning,Out of stockwithxindestructive. - height, width, gap, text: add no class for these.
API reference
| Option | Type | What it does |
|---|---|---|
| status | 'backlog' | 'todo' | 'in-progress' | 'in-review' | 'done' | 'cancelled' | StatusCustom | The status: one of the six kinds, or a team's own. |
| variant? | 'default' | 'info' | 'success' | 'warning' | 'destructive' | '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 mark: true the status's own, a string your own, "wide" the status's own as true (the first theme's table word; Meadow has no table to drop them in). |
| size? | 'sm' | 'md' | 'lg' = 'md' | The mark's side: 14 px (sm, a chip), 16 px (md, a row) or 20 px (lg, beside a heading). |
- Types: StatusCustom = { name: string; icon: IconName; variant?: StatusMarkVariant }
- data-slot values (to select a part by): status-mark, status-mark-edge, status-mark-icon, status-mark-inner, 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.