Measured entry
shadcn-native-select
A React and TypeScript wrapper around the browser's native select, plus pass-through option and optgroup components. It ships as shadcn registry source and uses Tailwind theme classes, the shared cn utility backed by clsx and tailwind-merge, and a decorative Lucide chevron.



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 | 30.4 KB (95.9 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 700ms error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-1e7498bec4a5/src/cut/components/ui/native-select.tsx".
Verdict
A sensible choice for straightforward forms because it preserves native select behavior and mounts without special context. The supplied demo has a critical accessible-name failure, so do not copy it unchanged: connect a label to the control or provide an explicit accessible name.
Use it if
- You want native keyboard, touch, and platform menu behavior with styling that matches a shadcn interface.
- You need simple option groups or standard form submission without a custom popover state model.
- You can provide a real label or an explicit accessible name wherever the control is used.
Skip it if
- You need searchable options, multiselect, rich option content, or fully custom menu interactions.
- You require identical open-menu styling across browsers and operating systems.
- Your team cannot guarantee accessible labeling at each call site, since the supplied demo leaves the select unnamed.
Install
| Declared dependencies | 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, Lucide React, Tailwind CSS, clsx, and tailwind-merge; create the cn class-merging helper; configure the referenced theme tokens and dark-mode styles; and replace the alias import if your project does not map it. Add an associated label or accessible-name attribute at every usage site.
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 select pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- hextaui-native-selectminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 30.6KB
- Bare
- fail
- Prov
- NO
- 8bitcn-difficulty-selectskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 32.7KB
- Bare
- fail
- Prov
- NO
- hextaui-checkboxminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 35.8KB
- Bare
- fail
- Prov
- NO
- hextaui-radio-groupminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 40.3KB
- Bare
- fail
- Prov
- NO
- ruixen-tag-cloud-selectunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 58.8KB
- Bare
- fail
- Prov
- NO
- tripled-animated-select-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 60.4KB
- Bare
- fail
- Prov
- NO