AnimatedTabs
Tabs with an indicator that slides between triggers.
Animatedimport { AnimatedTabs } from 'umbra-ui/motion'
Props
| Prop | Type | Default | Description |
|---|---|---|---|
reducedMotion | "system" | "always" | "never" | "system" | Reduced-motion override. Under reduced motion the indicator jumps and panels only fade. |
size | "sm" | "md" | "md" | Trigger height. |
variant | "underline" | "pill" | "underline" | `underline` sits on a rule; `pill` is a segmented control. |
Usage notes
Same API as Tabs.
Accessibility
- Identical roles and keyboard behaviour to Tabs.
- Under reduced motion the indicator jumps and panels only fade.
Import
import { AnimatedTabs } from 'umbra-ui/motion';
import 'umbra-ui/styles.css'; // once, at the root of your app