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.



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 | 39.0 KB (104.5 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | @radix-ui/react-tabs, 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, 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.
Author repository
github.com/preetsuthar17/HextaUIAlternatives
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.
- neu-toggleneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- clay-toggleclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.2KB
- Bare
- pass
- Prov
- NO
- ruixen-scrub-datetimeunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 22.2KB
- Bare
- pass
- Prov
- NO
- shadcn-switchunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 34.4KB
- Bare
- pass
- Prov
- NO
- hextaui-switchminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 34.5KB
- Bare
- pass
- Prov
- NO
- ruixen-animated-theme-togglerunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 61.8KB
- Bare
- pass
- Prov
- NO