Animated TabsPro
Standalone tab strip with a shared-layout underline that glides between tabs.
About Animated Tabs Underline
Standalone tab strip with a shared-layout underline that glides between tabs.
Animated Tabs Underline is a animated component for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 134 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- tabs
- layout
- underline
Installation
- Set up your project with
npx chocolateui initandnpx chocolateui login(see the installation guide). - Run the Chocolate UI CLI:
npx chocolateui add animated-tabs-underlineDependencies installed automatically: motion.
Uses: motion-presets, use-reduced-motion, utils.
Usage
import AnimatedTabsUnderline from "@/components/chocolate/animated-tabs-underline"
export default function Page() {
return <AnimatedTabsUnderline />
}