
Animated FAQ
Components
A keyboard-friendly animated tabs component for organizing dense product content, use cases, integrations, and equal-weight panels.
Animated Tabs organize dense product content into a tablist, tabs, and tab panels that stay readable before animation enters.
Use Animated Tabs when related content has equal standing and the first screen would become too heavy if every panel appeared at once. The page job is organized depth: users should understand the available panels and move between them with pointer or keyboard.
In production, the risk is hidden content that cannot be reached predictably. Implement tablist, tab, tabpanel, selected state, and arrow-key behavior before adding panel motion.
import AnimatedTabs from '@/components/effects/animated-tabs'; const Page = () => { return ( <> <AnimatedTabs/> </> )} A SaaS product page can use Animated Tabs to organize use cases, integrations, feature groups, or implementation options while keeping each panel crawlable or represented in server-rendered copy.
Not for content that must be compared side by side, discovered through search snippets, or read in one continuous flow.
Avoid remounting heavy panels on every tab change unless necessary, pre-size panel space where possible, and keep transitions short.
Expose tablist, tab, selected state, and tabpanel relationships where appropriate. On mobile, switch to stacked sections when horizontal tabs become cramped.
| Prop | Type | Default | Description |
|---|---|---|---|
defaultActiveIndex | number | 0 | Index of the initially active tab. |
indicator | string | underline | How the active tab is marked: an underline or pill that glides to it, or an underline that fades in. |
pillStyle | string | solid | Solid fills the pill with the accent colour; Soft uses a light tint of the text colour. Only used by Glide pill. |
hoverHighlight | boolean | false | Highlights the tab under the pointer. |
divider | boolean | true | Draws a line under the row of tabs. |
listBorder | boolean | false | Draws a border around the row of tabs. |
rounded | string | md | Corner radius of the tabs, the pill and the borders. |
accentColor | color | #ff6b00 | Colour of the active tab, the indicator, the solid pill and the focus ring. |
animationType | string | slide | How content changes when you switch tabs. Slide follows the direction you moved. |
slideDistance | number | 40 | How far content slides when switching tabs, in pixels. Needs Content animation set to Slide. |
smoothHeight | boolean | true | The content area animates to each tab's height instead of jumping. |
panelBorder | boolean | false | Draws a border around the tab content. |
duration | number | 0.35 | How long the indicator and the content take, in seconds. |
bounce | number | 0.15 | Springiness of the indicator and the slide. |
Arrow-key movement between tabs, clear selected state, and predictable activation. Pointer-only tabs are not production-ready.
On mobile or when panel content is long enough that switching hides too much context.
They can be if content is present in crawlable HTML or represented clearly in the server-rendered page. Do not bury unique content in client-only panels.
Yes. A custom version should define content structure, accessibility behavior, motion rules, reduced-motion behavior, source handoff, and implementation notes for the specific page job.
Need a custom effect? Tell us what to create.