Measured entry

tripled-native-tabs-carbon

tabsminimal-flatmotion on file

A client-side React tab switcher shipped as a shadcn registry component. It renders equal-width buttons, a spring-animated active pill, and animated content using Framer Motion. Styling relies on Tailwind utilities, shadcn color tokens, and a cn helper backed by clsx and tailwind-merge.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-native-tabs-carbon at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-tabs-carbon at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-tabs-carbon 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 tripled-native-tabs-carbon
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal69.9 KB (135.4 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A polished, responsive switcher for low-stakes panels, and it installs and mounts without framework scaffolding. Still, it behaves like styled buttons rather than a complete accessible tabs primitive. Use it as a visual starting point, then add semantics, keyboard behavior, and a controlled API for production workflows.

Use it if

  • You need a compact settings or account switcher with short labels and simple content panels.
  • Your app already uses Framer Motion and Tailwind theme tokens, so the animation adds little integration work.
  • You want an uncontrolled component whose initial selection can be set once and then managed internally.

Skip it if

  • You need proper tablist semantics, selected-state announcements, or arrow-key navigation for assistive technology users.
  • You need controlled selection, change callbacks, URL synchronization, or tabs driven by application state.
  • You do not already ship Framer Motion and cannot justify that dependency for a small sliding indicator.
  • You plan to render multiple instances without first making the shared animation identifier instance-safe.

Install

Installation record for tripled-native-tabs-carbon
Declared dependenciesframer-motion, react, 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, add React, Framer Motion, clsx, and tailwind-merge; configure Tailwind; define equivalents for the referenced theme colors and focus ring; provide the cn utility or replace it with your class-merging helper; and update the import alias if your project does not map 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.

Alternatives

Other published entries for the tabs pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.