Measured entry
shadcn-command
A client-side React command menu built as source you copy into the app, not a packaged widget. It wraps cmdk with Tailwind classes and a local class-merging helper, uses Lucide for search, and includes an optional dialog composition backed by the shadcn dialog component and Radix primitives.



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 | clean at 375, 768, 1440 |
| Axe critical | 1 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 48.3 KB (113.8 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 1.41s error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-6a6e9091ae63/src/cut/components/ui/command.tsx".
Verdict
A practical command-menu foundation that builds, mounts, and stays within its container, including outside a full shadcn scaffold. Do not ship the demo unchanged: the critical ARIA finding needs investigation and correction first.
Use it if
- You need a searchable command palette or compact action picker with grouped results and keyboard selection.
- Your app already uses Tailwind theme tokens and is comfortable owning copied component source.
- You want cmdk behavior with shadcn styling and an optional modal presentation.
Skip it if
- You need an accessibility-clean result without investigating and correcting the reported ARIA child relationship.
- You want a dependency-free input or a native select for a short, fixed choice list.
- Your design system does not use Tailwind utilities and you do not want to translate the styling and theme tokens.
Install
| Declared dependencies | cmdk, 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 cmdk, Lucide React, Tailwind, the class-merging helper and matching theme tokens. If you use CommandDialog, also bring in the local dialog component and its Radix dependency, then replace the source aliases with paths your project resolves.
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 input pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- clay-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- neu-search-inputneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.1KB
- Bare
- pass
- Prov
- NO
- clay-search-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.3KB
- Bare
- pass
- Prov
- NO
- originui-comp-33minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 20.7KB
- Bare
- pass
- Prov
- NO
- hextaui-labelminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 31.3KB
- Bare
- pass
- Prov
- NO
- ruixen-circular-stepper-inputliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 61.1KB
- Bare
- pass
- Prov
- NO