---
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/"
---

# Priority mark

A small icon that shows an item's priority, from none to urgent, in a list, a board or a record, for React and Tailwind CSS. Part of Goop Pro.

Pro. Its export: `PriorityMark`.

## When to use

- A small icon that shows an item's priority, from none to urgent, in a list, a board or a record.

## When not to use

- To change it use Select.

## 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 Priority 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>/meadow-priority-mark.json --yes
```

```text
Add the Goop Priority mark to this project. The install steps are at https://goop.so/docs/install.md
```

## Usage

```tsx
import { PriorityMark } from '@/components/ui/goop/priority-mark';
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/goop/select';
import { StatusMark } from '@/components/ui/goop/status-mark';

function SurveyTask() {
  return (
    <div className="flex flex-col gap-2 text-base">
      <span className="flex items-center gap-2">
        <PriorityMark priority="urgent" />
        <StatusMark status="in-progress" />
        Soil samples to the lab
      </span>
      <Select defaultValue="high">
        <SelectTrigger aria-label="Priority">
          <SelectValue />
        </SelectTrigger>
        <SelectContent>
          {(['urgent', 'high', 'medium', 'low', 'none'] as const).map((level) => (
            <SelectItem key={level} value={level} mark={<PriorityMark priority={level} size="sm" />}>
              {level === 'none' ? 'No priority' : level[0]?.toUpperCase() + level.slice(1)}
            </SelectItem>
          ))}
        </SelectContent>
      </Select>
    </div>
  );
}
```

- Also known as: PriorityIcon, PriorityIndicator, PriorityBadge, PriorityBars, IssuePriority.
- In a Select or a Combobox, hand the mark to an option as its `mark` (`size="sm"`), the option's own words beside it. In a list row or a Board card, the mark alone carries the priority: its name says it.
- height, width, gap, text: add no class for these.

## API reference

### Options

- `priority: 'none' | 'urgent' | 'high' | 'medium' | 'low'` — The priority.
- `label?: boolean | string` — The words after the icon: `true` the level's own, a string your own.
- `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).

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

- [Select](/themes/meadow/components/select): One option from a short closed list.
- [Status mark](/themes/meadow/components/status-mark): 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.
- [Trend chip](/themes/meadow/components/trend-chip): A small chip with how much a figure rose or fell.
- [Number roll](/themes/meadow/components/number-roll): Rolling text: a number or words that spin into their new value.
