Measured entry
hextaui-kbd
A pair of React primitives for rendering individual keyboard key caps and grouped shortcuts. It ships as a shadcn registry source file, uses Tailwind utility and theme-token classes, and imports a 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 | 29.8 KB (95.3 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A focused, low-complexity display primitive that builds and mounts cleanly without a provider. It is a solid fit for Tailwind interfaces, but the supplied fixed-width demo overflows on a narrow viewport, so responsive layout remains the consumer's responsibility.
Use it if
- You need compact shortcut hints in menus, tooltips, settings, or command documentation.
- Your interface already uses Tailwind theme tokens such as muted and background.
- You want semantic key-cap markup with a simple grouping primitive for shortcut chords.
Skip it if
- You need the component to register or execute keyboard shortcuts rather than only display them.
- Your narrow layout cannot accommodate shortcut rows without adapting the surrounding container.
- You need clickable key controls, since the supplied key caps ignore pointer input.
- Your project does not use React or Tailwind and you do not want to recreate the styling layer.
Install
| Declared dependencies | clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
Add clsx and tailwind-merge, provide the local cn utility expected by the import alias, and configure Tailwind with the referenced theme tokens. Copy the component source and either support the alias or replace it with your utility path.
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 form pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- shadcn-labelunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 31.1KB
- Bare
- pass
- Prov
- NO
- neobrutalism-labelbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 31.5KB
- Bare
- pass
- Prov
- NO
- neobrutalism-nlabelbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 31.5KB
- Bare
- pass
- Prov
- NO
- shadcn-formunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 43.9KB
- Bare
- pass
- Prov
- NO
- neobrutalism-formbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 44.4KB
- Bare
- pass
- Prov
- NO
- reui-kanbanminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 49.4KB
- Bare
- pass
- Prov
- NO