Measured entry
hextaui-native-select
A thin React wrapper around the browser's native select, option, and optgroup elements, with a custom chevron and forwarded ref. It ships as shadcn registry source rather than a standalone package and relies on Tailwind theme classes, a local cn utility backed by clsx and tailwind-merge, plus lucide-react.



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 | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 30.6 KB (96.1 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 741ms error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-7ad918fcc8f9/src/cut/components/ui/native-select.tsx".
Verdict
A sensible native control for forms already aligned with HextaUI or shadcn conventions, with clean semantics and no observed accessibility findings. It needs a shadcn-style setup to mount, and narrow layouts should constrain its width deliberately.
Use it if
- You want native keyboard, form, and mobile picker behavior with styling that matches a shadcn-based interface.
- You need ordinary single-choice fields with grouped options, disabled states, or validation styling.
- You prefer a small source component that can be edited locally instead of adopting a headless select system.
Skip it if
- You need search, multiple selection, async options, or rich content inside the menu.
- You require identical menu rendering across browsers, since the opened list remains platform-native.
- Your narrow layout cannot tolerate intrinsic select width or long option labels without local responsive overrides.
- Your project does not use Tailwind and you do not want to recreate its theme tokens and utility wiring.
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 |
For a non-shadcn project, add lucide-react, clsx, and tailwind-merge; provide the cn helper and its import alias; configure Tailwind; and define the border, input, foreground, ring, primary, muted, and destructive 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/preetsuthar17/HextaUIAlternatives
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.
- 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
- 8bitcn-theme-selectorskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 62.1KB
- Bare
- fail
- Prov
- NO