Report a problem or share feedback← Catalog
Tabs
freebeui/tabs
Pill, segment or underline tabs with a spring layoutId indicator and optional icons.
$
npx shadcn@latest add @beui/tabsnpm deps: clsx, lucide-react, motion, tailwind-merge
- Source
- beUI (free)
- Kind
- component
- Categories
- tabs
- Use as
- drop-in — replaces your component
- Applies to
- tabs
- Motion
- on state · subtle · motion · medium cost
- Tags
- react, tailwind-v4, motion, motion
- Licence
- MIT — Copyright (c) 2026 Saurabh Chauhan; retain the upstream notice when copying source.
- Live demo
- beui.dev
- Docs
- beui.dev
Similar
Compare all 4 →- Direction Aware Tabscult-ui/direction-aware-tabsTabs whose content slides in the direction of travel. Hard-codes neutral-600/700 + white text — swap to bg-muted/text-foreground.
- Halo Tabscult-ui/halo-tabsBase UI tabs with an animated glowing 'halo' indicator. Surfaces use tokens, but the halo glow is a hard-coded cyan/purple/pink palette. Needs @base-ui/react.
- Animated Tabssmoothui/animated-tabsTab list with a layoutId spring indicator in underline, pill or segment variants; arrow/Home/End keys and roving tabindex. Pill/segment use bg-muted + bg-background (theme). The underline uses bg-brand from SmoothUI's tokens.json (pink by default) — set --brand: var(--primary) once in globals.css. Tabs only: you render the panels (pair with motion-primitives/transition-panel).