The Future of Web Dev
The Future of Web Dev
Animata: 150+ Animated UI Components for React & Next.js
Add animated UI to a React or Next.js project with Animata, an open-source UI component library of reusable effects, interactive components, and dashboard widgets that you can customize locally.

Animata is a free, open-source React UI component library that adds animations and interactive effects to your websites and apps.
Choose from 150+ animated UI components for landing pages, navigation, and dashboards.
Install the ones you need through the shadcn CLI or copy their TypeScript source into your project.
Features
- Scroll-triggered reveals, pointer-driven effects, and hover animations.
- CSS-based animations and Web Animations API text presets.
- Optional Motion integration for complex interactions.
- Editable Tailwind CSS classes and component-specific stylesheets.
- MIT license for personal and commercial projects.
Use Cases
- Reveal product features as visitors scroll through a SaaS landing page.
- Animate project thumbnails and transitions in a portfolio gallery.
- Display spending, storage usage, and activity metrics in a dashboard.
- Show loading placeholders during asynchronous data requests.
How to Use It
1. Install components with the shadcn CLI
Start with a React or Next.js project configured for TypeScript and Tailwind CSS. Initialize shadcn if your project does not already have a components.json file:
npx shadcn@latest initInstall UI components via the shadcn CLI. For example, to add Ripple Button and Typing Text components:
npx shadcn@latest add https://animata.design/r/button/ripple-button.json
npx shadcn@latest add https://animata.design/r/text/typing-text.jsonBoth registry items write to the project-root components/animata/ directory. The examples below use @/ mapped to the project root and a cn helper at lib/utils.ts.
If @/ resolves to src/, move the installed folders under src/components/ and keep @/lib/utils mapped to your existing utility file.
components/
animata/
button/
ripple-button.tsx
ripple-button.css
text/
typing-text.tsx
lib/
utils.ts2. Basic usage
Use Ripple Button as the submit control inside an existing settings form.
import RippleButton from "@/components/animata/button/ripple-button";
export default function SaveSettingsButton() {
return (
<RippleButton type="submit">
Save settings
</RippleButton>
);
}3. Install components manually
If you prefer to copy the component files, install the shared utilities and Lucide icons:
npm install tailwind-merge clsx lucide-reactCreate lib/utils.ts if your project has no cn helper:
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}For a root-level components/ and lib/ directory, configure the following alias in tsconfig.json if it is missing:
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["./*"]
}
}
}Open the component you want in the Animata Documentation. Copy its TSX file, accompanying CSS, and any imported local components.
For components that import motion/react, install Motion:
npm install motionAdvanced Example: Animated Workspace Confirmation
Use Typing Text to display a confirmation after workspace creation. Set repeat={false} for a one-time animation and use onComplete to reveal a follow-up action.
In the Next.js App Router, put this example in a client component such as components/workspace-ready.tsx.
"use client";
import { useState } from "react";
import TypingText from "@/components/animata/text/typing-text";
export default function WorkspaceReady() {
const [complete, setComplete] = useState(false);
return (
<section className="space-y-4">
<TypingText
text="Your workspace is ready."
delay={45}
repeat={false}
hideCursorOnComplete
className="text-2xl font-semibold"
onComplete={() => setComplete(true)}
/>
{complete && (
<a href="/dashboard" className="underline">
Open workspace
</a>
)}
</section>
);
}Available UI Components
Background: Animated Beam, Blurry blob, Boids Ecosystem, Diagonal Lines, Dot, Grid, Interactive Grid, Moving Gradient, Shooting Stars, Zigzag.
Bento grid: Eight, Gradient, Three.
Button: AI Button, Algolia Blue Button, Algolia White Button, Animated Follow Button, Duolingo, Get started button, Ripple Button, Shining Button, Slide Arrow Button, Status Button, Swipe Button, Toggle Switch, Work Button.
Card: Card Comment, Card Spread, Card Stack, Case Study Card, Collab Card, Flip Card, GitHub Card – Shiny, GitHub Card – Skew, Glowing Card, Led Board, Swap Text Card.
Container: Animated Border Trail, Announcement Ribbon, Cursor Tracker, Marquee, Sibling Focus Nav.
Floating Action Buttons: Flower Menu, Speed Dial.
Graphs & charts: Bar Chart, Donut Chart, Gauge Chart, Progress, Ring Chart.
Hero: Hero Section Text Hover, Product Features, Shape Shifter, Slack’s intro screen.
Icon: Hover Interaction, Icon Ripple.
Image: Disclose Image, Images Reveal, Skew Image, Tilted Cover, Trailing Image.
List: Avatar List, Flipping cards, Menu list, Orbiting Items, Orbiting Items 3D, Reveal images, Transaction List.
Overlay: Modal.
PreLoader: Split Reveal, Vertical Tiles.
Progress: Animated Timeline, Spinner.
Scroll: Aperture Reveal, Stacked Sections.
Skeleton: Code, Cookie Banner, List, Receipt, Report, Wide Card.
Tabs: Fluid Tabs, Gooey Tabs, Shift Tabs.
Text: Animated Gradient Text, Blur Out Up, Bold Copy, Bottom-Up Letters, Circular Text, Counter, Cycle Text, Double Underline, Fade Through, Focus Blur Resolve, Gibberish Text, Glitch text, Jitter Text, Jumping Text (Instagram), Kinetic Center Build, Line-by-Line Slide, Mask Reveal Up, Metis text, Micro Scale Fade, Mirror Text, Per-Character Rise, Per-Word Crossfade, Roll text, Scale Down Fade, Scroll Reveal, Shared Axis Y, Shared Axis Z, Shimmer Sweep, Short Slide Down, Short Slide Right, Soft Blur In, Split Text, Spring Scale In, Swap Text, Text Border Animation, Text Explode (iMessage), Text Flip, Ticker, Top-Down Letters, Typing Text, Underline hover text, Wave Reveal.
Widget: Alarm Clock, Battery, Battery Level, Calendar event, Calorie Counter, Clock With Photo, Cycling, Delivery Card, Direction Card, Expense Tracker, Flight widget, Fund Widget, Live score, Mobile Detail, Music Widget, Notes, Profile, Reminder, Reminder Widget, Score Board, Security Alert, Shopping List, Sleep Tracker, Storage Status, Storage Widget, Study Timer, VPN Connection, Water Tracker, Weather Card, Weekly progress.





