Measured entry

hextaui-tabs

switchminimal-flatmotion on file

A client-side React tabs set shipped as a shadcn registry component. It wraps Radix Tabs with forwarded refs and Tailwind utility classes, and relies on the project’s shared cn helper, theme tokens, clsx, and tailwind-merge for styling composition.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of hextaui-tabs at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of hextaui-tabs at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-tabs 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-tabs
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal39.0 KB (104.5 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A sound, conventional Radix tabs wrapper with sensible states and no setup surprises in the harness. It is a good fit for Tailwind projects, but teams should add their own narrow-screen treatment when labels or surrounding content can exceed the viewport.

Use it if

  • You want accessible tab behavior from Radix while keeping the markup and styling in your own codebase.
  • Your app already uses Tailwind theme tokens and a cn utility compatible with shadcn components.
  • You need a compact horizontal tab switcher with straightforward active, disabled, dark-mode, and focus states.

Skip it if

  • Your tab labels must wrap or adapt automatically on narrow screens, since the component provides no responsive overflow strategy.
  • Your design system does not use Tailwind or shadcn-style theme tokens and you do not want to translate the styling.
  • You already ship another headless tabs primitive and want to avoid adding overlapping behavior and dependencies.

Install

Installation record for hextaui-tabs
Declared dependencies@radix-ui/react-tabs, clsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn project, install the Radix Tabs package plus clsx and tailwind-merge, add a cn class-merging helper, configure the Tailwind theme tokens used by the classes, and replace or configure the @ import alias. Keep the client directive in frameworks that distinguish server and client components.

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 switch pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.