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

# Properties

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, for React and Tailwind CSS. Part of Goop Pro.

Pro. Its export: `Properties`.

## Try it

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.

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

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

## Usage

```tsx
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"` and `PersonSelect`. Quiet controls only for a dense list: `SelectTrigger shape="chip" variant="ghost"`, `MultiSelect shape="chip" variant="ghost"`, a DatePickerTrigger `asChild` on `Button variant="subtle"`, `PersonSelect variant="ghost"`.
- height, width, padding, gap, text: add no class for these.

## API reference

### Parts

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

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

## Related

- [Select](/themes/trail/components/select): One option from a short closed list.
- [Status mark](/themes/trail/components/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.
- [Person select](/themes/trail/components/person-select): A person picker for an assignee, an owner or reviewers, each person shown with their avatar beside their name.
- [Timeline](/themes/trail/components/timeline): A record's history read down a column, newest first, its events grouped by day.
