Measured entry
ruixen-color-emotion-select
A client-side React select for options that pair labels with color dots and optional emoji. It ships as a shadcn registry component wrapping the project Select primitive and cn helper, with Radix UI, clsx, tailwind-merge, and Tailwind styling underneath.



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 | 61.4 KB (126.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 4m 25s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ruixen/color-emotion-select.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
Useful for expressive single-choice fields in an existing shadcn codebase, but it is not ready to adopt unchanged: the trigger has an accessibility failure and the wide render was blank. It needs a shadcn-style setup, and the bare project does not mount.
Use it if
- You need a compact mood, status, sentiment, or category picker with color and emoji cues.
- Your app already has shadcn Select, path aliases, the cn utility, and Tailwind styles in place.
- An uncontrolled initial selection and an on-change callback fit your form state model.
Skip it if
- You need an accessible release without first fixing the trigger's missing discernible name.
- You need reliable rendering across wide layouts before investigating the blank desktop result.
- You need a fully controlled value prop rather than the component's default-value-only API.
- You want a standalone package that works without shadcn aliases and local UI primitives.
Install
| Declared dependencies | 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 the shadcn Select primitive, a compatible cn utility, the components and lib path aliases, Tailwind configuration and styles, plus the Radix UI, clsx, and tailwind-merge dependencies. Then give the trigger an accessible name and verify wide-layout rendering.
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/ruixenui/ruixen.comAlternatives
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