List and detail
Shows a list and the row chosen in it: the detail stands beside the list on a wide screen and replaces it on a phone, with a way back, and the arrow keys move the choice.
Examples
Calder Global Equity, 13F
- Adviser
- Calder Partners
- Gross assets
- $4.8B
- Period
- Sep 30, 2026
- Filed
Filings
New filings from the funds you follow
Nothing open
Choose a row to read it here.
Usage
Use it when
- Triage and review: filings, alerts, tickets, applications, a moderation queue, where a person reads one, then the next.
- A list whose rows are worth reading in full but not worth a page change each.
Use something else when
- Rows a person compares across columns. Use DataTable instead.
- Sections of settings. Use SettingsLayout instead.
- A record a person opens once and stays on. Use Card instead, on the record's own page.
Rules
General
Content
Avoid
Limits
Install
npx shadcn@latest add https://kaanarici.com/r/cobalt/list-detail.jsonimport { ListDetail, ListDetailItem, ListDetailList, ListDetailPanel } from "@/components/cobalt/ui/list-detail"