npx shadcn@4.23.1 add https://registry.goop.so/g/<link>/trail-properties.json --yesProperties
ProA record's properties, each a label and a value edited in place, such as status, assignee and dates, for a record's side panel, for React and Tailwind CSS. Part of Goop Pro.
What an agent sees
- PropertyRowOne property
- usePropertyRowThe row round a control (its label's target id and words), or null
import { usePropertyRow, Properties, PropertyRow } from '@/components/ui/goop/properties';
import { useState } from 'react';
import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from '@/components/ui/goop/select';
import { StatusMark } from '@/components/ui/goop/status-mark';
import { PersonSelect } from '@/components/ui/goop/person-select';
function TaskProperties() {
const team = [{ id: 'ngozi', name: 'Ngozi Ilori' }, { id: 'bilal', name: 'Bilal Rashed' }];
const [status, setStatus] = useState('todo');
const [assignee, setAssignee] = useState('ngozi');
return (
<Properties>
<PropertyRow label="Status" icon="circle-dashed">
{(control) => (
<Select value={status} onValueChange={setStatus}>
<SelectTrigger {...control} shape="chip">
<SelectValue />
</SelectTrigger>
<SelectContent searchLabel="Status">
<SelectItem value="todo" mark={<StatusMark status="todo" aria-hidden="true" />}>
Todo
</SelectItem>
<SelectItem value="done" mark={<StatusMark status="done" aria-hidden="true" />}>
Done
</SelectItem>
</SelectContent>
</Select>
)}
</PropertyRow>
<PropertyRow label="Assignee" icon="user">
<PersonSelect shape="chip" people={team} value={assignee} onValueChange={setAssignee} optional />
</PropertyRow>
<PropertyRow label="Created">12 Nov 2026</PropertyRow>
</Properties>
);
}Edit a task in its side panel: change its status and priority, assign it or clear the assignee, pick or clear its due date, add and remove labels. Click a row’s label to open its control; the line under the panel says the task as it now stands. The task, its team and its labels are our own and live in this page alone: nothing is saved.
When to use
- A record's properties, each a label and a value edited in place, such as status, assignee and dates, for a record's side panel.
- Also called: property list or key-value list.
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 Properties 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>/trail-properties.json --yesAdd the Goop Properties to this project. The install steps are at https://goop.so/docs/install.mdUsage
import { usePropertyRow, Properties, PropertyRow } from '@/components/ui/goop/properties';
import { useState } from 'react';
import { Select, SelectTrigger, SelectValue, SelectContent, SelectItem } from '@/components/ui/goop/select';
import { StatusMark } from '@/components/ui/goop/status-mark';
import { PersonSelect } from '@/components/ui/goop/person-select';
function TaskProperties() {
const team = [{ id: 'ngozi', name: 'Ngozi Ilori' }, { id: 'bilal', name: 'Bilal Rashed' }];
const [status, setStatus] = useState('todo');
const [assignee, setAssignee] = useState('ngozi');
return (
<Properties>
<PropertyRow label="Status" icon="circle-dashed">
{(control) => (
<Select value={status} onValueChange={setStatus}>
<SelectTrigger {...control} shape="chip">
<SelectValue />
</SelectTrigger>
<SelectContent searchLabel="Status">
<SelectItem value="todo" mark={<StatusMark status="todo" aria-hidden="true" />}>
Todo
</SelectItem>
<SelectItem value="done" mark={<StatusMark status="done" aria-hidden="true" />}>
Done
</SelectItem>
</SelectContent>
</Select>
)}
</PropertyRow>
<PropertyRow label="Assignee" icon="user">
<PersonSelect shape="chip" people={team} value={assignee} onValueChange={setAssignee} optional />
</PropertyRow>
<PropertyRow label="Created">12 Nov 2026</PropertyRow>
</Properties>
);
}- Fits: board, inbox, record (their recipes).
- Also known as: PropertyList, PropertiesPanel, DetailsPanel, KeyValueList, DescriptionList.
- A record's status and assignee in a side panel: the bordered chip,
SelectTrigger shape="chip"andPersonSelect. Quiet controls only for a dense list:SelectTrigger shape="chip" variant="ghost",MultiSelect shape="chip" variant="ghost", a DatePickerTriggerasChildonButton variant="subtle",PersonSelect variant="ghost". - height, width, padding, gap, text: add no class for these.
API reference
- Types: PropertyControlProps = { id: string }
| Part | What it is |
|---|---|
| PropertyRow | One property; label: ReactNode — The property's name, in the label column; write it in sentence case, the row shows it in capitals; icon?: IconName — The property's icon, by the pack's name (user, calendar); a row with none keeps the icons' room; id?: string — The control's id, the one its label points at; the row makes one when left out; children: ReactNode | ((control: PropertyControlProps) => ReactNode) — The value: a control, plain words, or a function given the control's wiring ({ id }) |
| usePropertyRow | The row round a control (its label's target id and words), or null |
- data-slot values (to select a part by): properties, property-row, property-row-icon, property-row-label, property-row-text, property-row-value
Keyboard
| Key | What it does |
|---|---|
| Tab | Reach each row's control in the rows' order, top to bottom; a row of plain words takes no stop |
| Enter Space ArrowDown | On a row's picker: open its list (the control's own keys) |
Accessibility
- The part itself answers the keys above.
- hover, focus-visible: the browser's own (:hover, :focus-visible): write nothing
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.