Measured entry

hextaui-native-select

selectminimal-flat

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.

Specimen
Harness screenshot of hextaui-native-select at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of hextaui-native-select at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-native-select at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

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.

Harness measurements recorded for hextaui-native-select
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal30.6 KB (96.1 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for hextaui-native-select
Declared dependenciesclsx, tailwind-merge
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno 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.

License
MIT
Record published
2026-08-17

Alternatives

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.