Item
A list row of media, a title, a description, and actions, that can render as a link.
Quarterly review
Thursday, 14:00 to 15:00, with the finance team.
Your bank account is connected
When to use
- Use when
- Rows of media, text, and actions in a list, such as members, files, or settings.
- Avoid when
- The rows need columns people compare across; use Table.
Installation
The source lands in src/components/ui/item.tsx, along with any Shelf items it builds on, and .shelf/lock.json records what was installed. It's yours to edit.
Usage
Built on
Verified
- Size
- 2.4 kB gzipped on its own, 5.8 kB with the Shelf items and packages it builds on. JS and CSS in a production build, without React.
- Accessibility
- Axe passes on 4 stories
- Behavior
- 4 interaction tests in Storybook
- React Doctor
- React Doctor finds nothing