Measured entry
hextaui-label
A small React label wrapper shipped as a shadcn registry component. It builds on the Radix Label primitive, adds Tailwind utility classes for touch behavior and disabled states, and uses the project-local cn helper backed by clsx and tailwind-merge.



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 | 31.3 KB (96.8 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A sound, narrowly scoped label primitive that built and mounted cleanly without a provider. Its value is mainly consistent Radix behavior and state styling, so teams already satisfied with a styled native label may find the added dependency unnecessary.
Use it if
- You want form labels with Radix semantics and consistent disabled-state styling.
- Your app already uses Tailwind utilities and a shadcn-style cn helper.
- You need a thin label primitive that accepts native label props and forwarded refs.
Skip it if
- You want a dependency-free native label element.
- Your styling system does not process Tailwind utility classes.
- You need a field wrapper with help text, validation messages, and required indicators built in.
Install
| Declared dependencies | @radix-ui/react-label, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
In a non-shadcn project, add the Radix Label package, configure Tailwind, provide the cn class-merging helper with clsx and tailwind-merge, and replace the path alias if your project does not define it.
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 input pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- clay-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- neu-search-inputneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.1KB
- Bare
- pass
- Prov
- NO
- clay-search-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.3KB
- Bare
- pass
- Prov
- NO
- originui-comp-33minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 20.7KB
- Bare
- pass
- Prov
- NO
- ruixen-circular-stepper-inputliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 61.1KB
- Bare
- pass
- Prov
- NO
- ruixen-floating-toolbargradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 61.3KB
- Bare
- pass
- Prov
- NO