Measured entry

hextaui-kbd

formminimal-flat

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.

Specimen
Harness screenshot of hextaui-kbd at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of hextaui-kbd at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-kbd 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-kbd
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal29.8 KB (95.3 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten 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

Installation record for hextaui-kbd
Declared dependenciesclsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno 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.

License
MIT
Record published
2026-08-17

Alternatives

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.