Report a problem or share feedback← Catalog
Direction Aware Tabs
curatedfreecult-ui/direction-aware-tabs
Tab component with direction-aware animations and smooth transitions
$
npx shadcn@latest add @cult-ui/direction-aware-tabsnpm deps: motion, react-use-measure
Our notes
Tabs whose content slides in the direction of travel. Hard-codes neutral-600/700 + white text — swap to bg-muted/text-foreground.- Source
- Cult UI
- Kind
- component
- Categories
- tabs
- Use as
- drop-in — replaces your component
- Applies to
- tabs
- Motion
- on state · subtle · motion · medium cost · ignores reduced motion
- Tags
- motion
- Licence
- MIT (nolly-studio/cult-ui). Pro blocks/templates at pro.cult-ui.com are paid — not catalogued.
- Live demo
- www.cult-ui.com
- Docs
- www.cult-ui.com
Similar
Compare all 4 →- 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).
- Tabsbeui/tabsPill, segment or underline tabs with a spring layoutId indicator and optional icons.