Measured entry
shadcn-item
A composable React item-row family for media, text, actions, headers, footers, groups, and separators. It ships as shadcn registry source copied into your app, styled with Tailwind classes and variants, and relies on Radix Slot, the shadcn Separator, class-variance-authority, and a cn utility backed by clsx and tailwind-merge.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | flagged at 375 |
| Axe critical | 1 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 32.7 KB (98.2 KB build, 65.5 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 751ms error during build: [vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-837c88b3dcec/src/cut/components/ui/item.tsx".
Verdict
A practical set of flexible row primitives that builds and mounts cleanly, but it is not ready to copy unchanged. Fix the group's list semantics and replace the demo's fixed width for narrow layouts. Best suited to teams already comfortable maintaining shadcn source.
Use it if
- You need consistent rows for settings, project lists, notifications, or compact resource cards.
- Your team wants source-owned primitives that can render as links or custom child elements.
- Your interface already uses Tailwind and shadcn design tokens.
Skip it if
- You need an accessible list without adding list-item semantics to each row.
- You want a packaged component with styles isolated from your Tailwind theme.
- You plan to keep the demo's fixed width on narrow screens, where it overflows.
- You need richer card behavior such as selection, disclosure, or built-in loading states.
Install
| Declared dependencies | radix-ui, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add React, Tailwind, radix-ui, class-variance-authority, clsx, and tailwind-merge. Provide the cn helper and Separator component, configure the import aliases, and define the muted, accent, border, ring, and foreground theme tokens used by the classes.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/shadcn-ui/uiAlternatives
Other published entries for the card pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- tailark-veil-content-1minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-veil-content-2minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- tailark-mist-content-3minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 24.1KB
- Bare
- pass
- Prov
- NO
- neobrutalism-cardbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 29.6KB
- Bare
- pass
- Prov
- NO
- neobrutalism-ncardbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 29.6KB
- Bare
- pass
- Prov
- NO
- reui-icon-stackminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 30.1KB
- Bare
- pass
- Prov
- NO