Measured entry

shadcn-select

selectunclassified

A client-side React select assembled from Radix UI primitives and shipped as copied TypeScript source rather than a packaged widget. It uses Lucide icons, a local cn helper, Tailwind utility classes, and shadcn theme tokens for the trigger, portal menu, items, labels, separators, and scroll controls.

Specimen
Harness screenshot of shadcn-select at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of shadcn-select at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of shadcn-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 shadcn-select
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical1
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal44.6 KB (109.2 KB build, 64.6 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 1.78s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ui/select.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A solid fit for an existing shadcn codebase, with useful composition and stable mounting across the tested layouts. It needs a shadcn-style setup and should not ship until the trigger has an explicit accessible name.

Use it if

  • You already use the shadcn styling conventions and want an editable Radix-based select.
  • You need grouped options, labels, separators, or scroll controls in a consistent menu.
  • You want keyboard and portal behavior supplied by Radix while retaining control of the source.

Skip it if

  • You need a drop-in package that works without Tailwind theme tokens and a local utility helper.
  • You want a native select for simple forms, browser autofill, or minimal client-side code.
  • You cannot remediate the unnamed trigger reported by the accessibility check before release.

Install

Installation record for shadcn-select
Declared dependenciesradix-ui
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add Radix UI and Lucide React, provide the cn class-merging helper, configure Tailwind with the referenced theme tokens and state animations, preserve client-component support, and give each trigger an accessible label.

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/ui
License
MIT
Record published
2026-08-12

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.