
Aceternity Ui
- 1.1k installs
- 196 repo stars
- Updated July 25, 2026
- secondsky/claude-skills
aceternity-ui is an agent skill for Aceternity UI animated React components in Next.js with Tailwind.
About
The aceternity-ui skill documents 100+ animated React components from Aceternity UI for Next.js projects styled with Tailwind CSS. It covers hero sections, parallax scrolling, 3D effects, and motion-heavy landing page patterns installed via shadcn-compatible CLI workflows. Guidance addresses common integration errors when adding animated components alongside existing shadcn setups. Agents select components for marketing pages needing distinctive motion without building animations from scratch. 100+ animated React components for Next.js with Tailwind. Hero, parallax, and 3D effect landing page patterns. shadcn CLI integration guidance and error troubleshooting. MIT-licensed Aceternity UI component catalog. Accelerates motion-heavy marketing UI without custom animation code. Add Aceternity UI animated React components to Next.js sites with Tailwind and shadcn CLI integration.
- 100+ animated React components for Next.js with Tailwind.
- Hero, parallax, and 3D effect landing page patterns.
- shadcn CLI integration guidance and error troubleshooting.
- MIT-licensed Aceternity UI component catalog.
- Accelerates motion-heavy marketing UI without custom animation code.
Aceternity Ui by the numbers
- 1,136 all-time installs (skills.sh)
- +35 installs in the week ending Jul 29, 2026 (Skillselion tracking)
- Ranked #335 of 2,244 Frontend Development skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Jul 29, 2026 (Skillselion catalog sync)
What aceternity-ui says it does
100+ animated React components (Aceternity UI) for Next.js with Tailwind.
npx skills add https://github.com/secondsky/claude-skills --skill aceternity-uiAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.1k |
|---|---|
| repo stars | ★ 196 |
| Security audit | 2 / 3 scanners passed |
| Last updated | July 25, 2026 |
| Repository | secondsky/claude-skills ↗ |
How do I add Aceternity animated components to my Next.js Tailwind site?
Add Aceternity UI animated React components to Next.js sites with Tailwind and shadcn CLI integration.
Who is it for?
Frontend developers building motion-rich Next.js marketing pages.
Skip if: Skip for non-React stacks or backends without UI work.
When should I use this skill?
User needs Aceternity UI heroes, parallax, 3D effects, or shadcn animation integration.
What you get
Installed animated components with shadcn-compatible CLI integration on Next.js.
- Component recommendations
- shadcn CLI install commands
By the numbers
- 100+ components cataloged
- 16 component categories
- 28 background and effect components
Files
Aceternity UI Skill
Overview
Aceternity UI is a premium, production-ready React component library designed for Next.js applications. It provides 100+ beautifully animated and interactive components built with Tailwind CSS and Framer Motion. Components are installed via the shadcn CLI and can be customized directly in your codebase.
Key Features:
- 100+ animated, production-ready components
- Built for Next.js 13+ with App Router support
- Full TypeScript support
- Tailwind CSS v3+ styling
- Framer Motion animations
- Dark mode support
- Copy-paste friendly (not an npm package)
- Full source code access for customization
Prerequisites:
- Next.js 13+ (App Router recommended)
- React 16.8+
- Tailwind CSS v3+
- TypeScript (recommended)
- Node.js 18+ with bun, npm, or pnpm
Installation
Initial Setup
For New Projects:
# Create Next.js project (bun preferred)
bunx create-next-app@latest my-app
# or: npx create-next-app@latest my-app
# or: pnpm create next-app@latest my-app
cd my-app
# Select these options:
# - TypeScript: Yes
# - ESLint: Yes
# - Tailwind CSS: Yes
# - src/ directory: Optional
# - App Router: Yes (recommended)
# - Import alias: @/* (default)Initialize Aceternity UI via shadcn CLI:
# Using bun (preferred)
bunx --bun shadcn@latest init
# Using npm
npx shadcn@latest init
# Using pnpm
pnpm dlx shadcn@latest init
# During setup:
# - Style: New York (recommended)
# - Color: Zinc (or your preference)
# - CSS variables: Yes (recommended)Configure Registry:
After initialization, update components.json to add Aceternity registry:
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "app/globals.css",
"baseColor": "zinc",
"cssVariables": true
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
},
"registries": {
"@aceternity": "https://ui.aceternity.com/registry/{name}.json"
}
}Installing Components
Using shadcn CLI 3.0+ (Namespaced Registry):
# Install specific component
bunx shadcn@latest add @aceternity/background-beams
# or: npx shadcn@latest add @aceternity/background-beams
# or: pnpm dlx shadcn@latest add @aceternity/background-beams
# Component will be added to: components/ui/background-beams.tsxManual Installation:
If the registry method doesn't work, install manually:
1. Install required dependencies:
bun add motion clsx tailwind-merge
# or: npm install motion clsx tailwind-merge2. Add utility function to lib/utils.ts:
import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}3. Copy component code from ui.aceternity.com to your project
Secure Installation
This setup runs multiple remote code executions (create-next-app, shadcn init, shadcn add). Before installing, follow supply chain security best practices:
- Block post-install scripts —
npm config set ignore-scripts true(or Bun: disabled by default) - Cooldown period — Wait 7 days for new package versions to be vetted by the community
- Audit before installing — Run
socket package score npm <pkg>or usesocket npm install <pkg>to check packages
Load the dependency-upgrade skill for full security configuration including Socket CLI integration, cooldown setup, lockfile validation, and CI enforcement.
Component Categories
1. Backgrounds & Effects (28 components)
Create stunning animated backgrounds and visual effects for hero sections and full-page layouts.
Key Components:
- Background Beams - Animated glowing beams following SVG paths
- Background Gradient - Smooth gradient backgrounds with transitions
- Wavy Background - Animated wave patterns
- Aurora Background - Northern lights inspired animated gradients
- Sparkles - Particle sparkle effects
- Meteors - Falling meteor animations
- Spotlight - Dynamic spotlight effects
- Grid and Dot Backgrounds - Subtle grid/dot patterns
- Vortex - Swirling vortex animations
- Canvas Reveal Effect - Revealing content with canvas animations
Usage Example:
"use client";
import { BackgroundBeams } from "@/components/ui/background-beams";
export default function HeroSection() {
return (
<div className="h-screen w-full relative">
<div className="max-w-4xl mx-auto z-10 relative p-8">
<h1 className="text-5xl font-bold">Welcome</h1>
<p className="text-xl mt-4">Beautiful animated backgrounds</p>
</div>
<BackgroundBeams />
</div>
);
}When to Use:
- Hero sections requiring visual impact
- Landing pages with animated backgrounds
- Full-screen sections needing depth
- Portfolio or agency websites
- Marketing pages with call-to-actions
2. Card Components (15 components)
Interactive cards with hover effects, animations, and 3D transformations.
Key Components:
- 3D Card Effect - Cards with CSS perspective and 3D transforms
- Card Hover Effect - Smooth hover animations and transitions
- Expandable Card - Cards that expand to show more content
- Focus Cards - Cards that focus/highlight on hover
- Card Spotlight - Spotlight effect following mouse
- Glare Card - Holographic glare effect
- Wobble Card - Playful wobble animations
- Infinite Moving Cards - Auto-scrolling card carousel
- Direction Aware Hover - Hover effects based on cursor direction
Usage Example:
"use client";
import { CardBody, CardContainer, CardItem } from "@/components/ui/3d-card";
export function ProductCard() {
return (
<CardContainer>
<CardBody className="bg-gray-50 rounded-xl p-6">
<CardItem translateZ="50" className="text-2xl font-bold">
Product Title
</CardItem>
<CardItem translateZ="60" as="p" className="text-sm mt-2">
Product description goes here
</CardItem>
<CardItem translateZ="100" className="w-full mt-4">
<img src="/product.jpg" className="rounded-xl" alt="Product" />
</CardItem>
</CardBody>
</CardContainer>
);
}When to Use:
- Product showcases
- Feature highlights
- Portfolio items
- Team member profiles
- Pricing tiers
- Blog post previews
3. Scroll & Parallax (5 components)
Create engaging scroll-based animations and parallax effects.
Key Components:
- Parallax Scroll - Images with parallax scrolling
- Sticky Scroll Reveal - Content reveals while scrolling
- Container Scroll Animation - Animated scroll containers
- Hero Parallax - Parallax hero sections
- MacBook Scroll - MacBook-style scroll interactions
Usage Example:
import { StickyScroll } from "@/components/ui/sticky-scroll-reveal";
const content = [
{
title: "Feature One",
description: "Description of feature one...",
content: <div>Visual content here</div>
},
// More items...
];
export function Features() {
return <StickyScroll content={content} />;
}When to Use:
- Feature showcases with scroll interactions
- Storytelling layouts
- Product tours
- Long-form content with visual breaks
- Interactive timelines
4. Text Components (10 components)
Animated text effects for headings, titles, and interactive typography.
Key Components:
- Text Generate Effect - Text appearing character by character
- Typewriter Effect - Typing animation
- Flip Words - Word rotation animations
- Text Hover Effect - Interactive text on hover
- Hero Highlight - Gradient text highlights
- Encrypted Text - Matrix-style encrypted text effect
- Colourful Text - Gradient animated text
Usage Example:
import { TypewriterEffect } from "@/components/ui/typewriter-effect";
const words = [
{ text: "Build" },
{ text: "amazing" },
{ text: "websites", className: "text-blue-500" }
];
export function Hero() {
return <TypewriterEffect words={words} />;
}When to Use:
- Hero headings
- Attention-grabbing titles
- Dynamic content displays
- Interactive landing pages
- Animated CTAs
5. Buttons (4 components)
Enhanced button components with animations and effects.
Key Components:
- Tailwind CSS Buttons - Collection of styled buttons
- Hover Border Gradient - Animated gradient borders
- Moving Border - Animated border movement
- Stateful Button - Multi-state button with transitions
Usage Example:
import { MovingBorder } from "@/components/ui/moving-border";
export function CTAButton() {
return (
<MovingBorder duration={2000} className="p-4">
<span>Get Started</span>
</MovingBorder>
);
}6. Navigation (5 components)
Modern navigation menus and tab systems.
Key Components:
- Floating Navbar - Floating navigation bar
- Navbar Menu - Full-featured navigation menu
- Tabs - Animated tab components
- Resizable Navbar - Responsive navigation
- Sticky Banner - Sticky announcement banners
7. Input & Forms (3 components)
Enhanced form inputs and file upload components.
Key Components:
- Signup Form - Animated signup forms
- Placeholders and Vanish Input - Inputs with animated placeholders
- File Upload - Drag-and-drop file upload
Usage Example:
import { PlaceholdersAndVanishInput } from "@/components/ui/placeholders-and-vanish-input";
export function SearchBar() {
const placeholders = [
"Search for anything...",
"What are you looking for?",
"Type to search..."
];
return (
<PlaceholdersAndVanishInput
placeholders={placeholders}
onChange={(e) => console.log(e.target.value)}
onSubmit={(e) => {
e.preventDefault();
console.log("submitted");
}}
/>
);
}8. Overlays & Popovers (3 components)
Modal dialogs and tooltips with animations.
Key Components:
- Animated Modal - Modal with smooth animations
- Animated Tooltip - Tooltips with enter/exit animations
- Link Preview - Link preview popover on hover
Usage Example:
import { Modal, ModalBody, ModalContent, ModalTrigger } from "@/components/ui/animated-modal";
export function BookingModal() {
return (
<Modal>
<ModalTrigger className="bg-black text-white px-4 py-2 rounded-md">
Book Now
</ModalTrigger>
<ModalBody>
<ModalContent>
<h2>Booking Details</h2>
{/* Modal content */}
</ModalContent>
</ModalBody>
</Modal>
);
}9. Carousels & Sliders (4 components)
Image sliders and carousel components.
Key Components:
- Images Slider - Full-screen image slider
- Carousel - Standard carousel component
- Apple Cards Carousel - Apple-style card carousel
- Animated Testimonials - Testimonial slider
10. Layout & Grid (3 components)
Grid layouts and container components.
Key Components:
- Layout Grid - Animated grid layouts
- Bento Grid - Bento-box style grid
- Container Cover - Full-screen container
11. Data & Visualization (2 components)
Components for displaying data and comparisons.
Key Components:
- Timeline - Animated timeline component
- Compare - Before/after comparison slider
12. Cursor & Pointer (3 components)
Cursor-following effects and interactions.
Key Components:
- Following Pointer - Elements following cursor
- Pointer Highlight - Highlight effect on cursor
- Lens - Magnifying lens effect
13. 3D Components (2 components)
3D visual effects using CSS transforms.
Key Components:
- 3D Pin - Pinterest-style 3D card
- 3D Marquee - 3D rotating marquee
14. Loaders (2 components)
Loading animations and progress indicators.
Key Components:
- Multi-step Loader - Multi-step loading animation
- Loader - Various loading spinners
15. Sections & Blocks (3 components)
Pre-built section templates.
Key Components:
- Feature Sections - Feature showcase templates
- Cards - Pre-designed card layouts
- Hero Sections - Hero section templates
Common Patterns
Dark Mode Support
All Aceternity components support dark mode via Tailwind's dark mode classes:
<div className="bg-white dark:bg-black text-black dark:text-white">
{/* Content */}
</div>Responsive Design
Components are responsive by default. Use Tailwind's responsive prefixes:
<h1 className="text-2xl md:text-4xl lg:text-6xl">
Responsive Heading
</h1>Combining Components
Components can be combined for complex layouts:
import { BackgroundBeams } from "@/components/ui/background-beams";
import { TypewriterEffect } from "@/components/ui/typewriter-effect";
import { MovingBorder } from "@/components/ui/moving-border";
export default function Hero() {
return (
<div className="h-screen relative">
<div className="z-10 relative flex flex-col items-center justify-center h-full">
<TypewriterEffect words={words} />
<MovingBorder>
<button>Get Started</button>
</MovingBorder>
</div>
<BackgroundBeams />
</div>
);
}Best Practices
1. Performance Optimization
Use "use client" directive - Aceternity components use Framer Motion, requiring client-side rendering:
"use client";
import { Component } from "@/components/ui/component";Lazy load heavy components:
import dynamic from 'next/dynamic';
const HeavyBackground = dynamic(
() => import('@/components/ui/background-beams'),
{ ssr: false }
);2. Accessibility
Add ARIA labels:
<button aria-label="Open menu">
<MenuIcon />
</button>Ensure keyboard navigation:
<div role="button" tabIndex={0} onKeyDown={handleKeyDown}>
Interactive element
</div>3. Customization
Override styles using className:
<BackgroundBeams className="opacity-50" />Modify component source directly - Since components are copied to your project, you can edit them:
// components/ui/background-beams.tsx
export function BackgroundBeams({ className, myCustomProp }: Props) {
// Customize as needed
}4. Type Safety
Use TypeScript for prop types:
interface CardProps {
title: string;
description: string;
image?: string;
}
export function Card({ title, description, image }: CardProps) {
// Component implementation
}Troubleshooting
Common Issues
1. "Module not found: motion"
bun add motion
# or: npm install motion2. "cn is not defined" Ensure lib/utils.ts exists with the cn helper function.
3. Components not animating Verify "use client" directive is at the top of the file.
4. Tailwind classes not working Ensure Tailwind is configured and globals.css imports Tailwind directives:
@tailwind base;
@tailwind components;
@tailwind utilities;5. Dark mode not working Check tailwind.config.ts has darkMode: "class" configured.
Token Efficiency
This skill provides significant token savings by:
- Pre-vetted component selection - Saves ~3k tokens exploring component options
- Installation instructions - Saves ~2k tokens debugging setup issues
- Component categorization - Saves ~2k tokens finding the right component
- Usage examples - Saves ~2k tokens writing boilerplate code
- Troubleshooting guide - Saves ~1k tokens debugging common issues
Estimated savings: ~10k tokens (65-70% reduction) per implementation
Errors prevented: 1. Missing motion dependency 2. Incorrect shadcn CLI initialization 3. Missing cn utility function 4. Missing "use client" directive 5. Incorrect registry configuration 6. Wrong Next.js configuration (Pages Router vs App Router)
When to Load References
Load reference files based on task context:
| If User Asks About... | Load This Reference |
|---|---|
| New project setup, installation, getting started | references/quick-start.md (465 lines) |
| Finding specific components, component categories, CLI commands | references/component-catalog.md (635 lines) |
| Usage examples, patterns, troubleshooting | Main SKILL.md (this file) |
Reference Summary:
quick-start.md- 5-minute setup guide, first component examples, troubleshooting, project structurecomponent-catalog.md- Complete list of 100+ components with install commands and use cases
Additional Resources
- Official Documentation: https://ui.aceternity.com/docs
- Component Gallery: https://ui.aceternity.com/components
- Shadcn UI: https://ui.shadcn.com
- Framer Motion: https://www.framer.com/motion
- Tailwind CSS: https://tailwindcss.com
Related Skills
When using this skill, consider combining with:
nextjs- Next.js framework skilltailwind-v4-shadcn- Tailwind CSS v4 configurationreact-hook-form-zod- Form validationclerk-auth- Authenticationcloudflare-nextjs- Cloudflare deployment
License
This skill documentation is provided under MIT License. Aceternity UI components have their own licensing - check https://ui.aceternity.com for details.
---
Last Updated: 2025-12-08 Version: 1.1.0 Maintainer: Claude Skills Maintainers
Aceternity UI Component Catalog
Complete reference of all 100+ components organized by category with installation commands and use cases.
Table of Contents
- Backgrounds & Effects (28)
- Card Components (15)
- Scroll & Parallax (5)
- Text Components (10)
- Buttons (4)
- Loaders (2)
- Navigation (5)
- Input & Forms (3)
- Overlays & Popovers (3)
- Carousels & Sliders (4)
- Layout & Grid (3)
- Data & Visualization (2)
- Cursor & Pointer (3)
- 3D Components (2)
- Sections & Blocks (3)
---
Backgrounds & Effects
1. Dotted Glow Background
Command: bunx shadcn@latest add @aceternity/dotted-glow-background Description: Subtle dotted pattern with glowing effect Use Cases: Subtle hero backgrounds, section dividers Docs: https://ui.aceternity.com/components/dotted-glow-background
2. Background Ripple Effect
Command: bunx shadcn@latest add @aceternity/background-ripple-effect Description: Animated ripple waves spreading across background Use Cases: Interactive landing pages, click-triggered effects Docs: https://ui.aceternity.com/components/background-ripple-effect
3. Sparkles
Command: bunx shadcn@latest add @aceternity/sparkles Description: Particle sparkle effects floating across screen Use Cases: Magical/premium feeling pages, celebration effects Docs: https://ui.aceternity.com/components/sparkles
4. Background Gradient
Command: bunx shadcn@latest add @aceternity/background-gradient Description: Smooth, static gradient backgrounds Use Cases: Clean, modern hero sections Docs: https://ui.aceternity.com/components/background-gradient
5. Background Gradient Animation
Command: bunx shadcn@latest add @aceternity/background-gradient-animation Description: Animated gradient that shifts colors over time Use Cases: Dynamic hero sections, attention-grabbing backgrounds Docs: https://ui.aceternity.com/components/background-gradient-animation
6. Wavy Background
Command: bunx shadcn@latest add @aceternity/wavy-background Description: Animated wave patterns Use Cases: Ocean/water-themed designs, fluid motion backgrounds Docs: https://ui.aceternity.com/components/wavy-background
7. Background Boxes
Command: bunx shadcn@latest add @aceternity/background-boxes Description: Grid of animated rotating boxes Use Cases: Tech-focused pages, 3D geometric designs Docs: https://ui.aceternity.com/components/background-boxes
8. Background Beams
Command: bunx shadcn@latest add @aceternity/background-beams Description: Glowing animated beams following SVG paths Use Cases: Hero sections, high-impact landing pages Docs: https://ui.aceternity.com/components/background-beams
9. Background Beams with Collision
Command: bunx shadcn@latest add @aceternity/background-beams-with-collision Description: Interactive beams that collide and bounce Use Cases: Interactive hero sections, physics-based designs Docs: https://ui.aceternity.com/components/background-beams-with-collision
10. Background Lines
Command: bunx shadcn@latest add @aceternity/background-lines Description: Subtle moving line patterns Use Cases: Minimalist backgrounds, subtle motion Docs: https://ui.aceternity.com/components/background-lines
11. Glowing Stars Effect
Command: bunx shadcn@latest add @aceternity/glowing-stars-effect Description: Twinkling stars animation Use Cases: Night sky themes, space-themed pages Docs: https://ui.aceternity.com/components/glowing-stars-effect
12. Aurora Background
Command: bunx shadcn@latest add @aceternity/aurora-background Description: Northern lights inspired animated gradients Use Cases: Premium landing pages, ethereal designs Docs: https://ui.aceternity.com/components/aurora-background
13. Meteors
Command: bunx shadcn@latest add @aceternity/meteors Description: Falling meteor animations Use Cases: Space themes, dramatic hero sections Docs: https://ui.aceternity.com/components/meteors
14. Shooting Stars and Stars Background
Command: bunx shadcn@latest add @aceternity/shooting-stars-and-stars-background Description: Combination of static stars and shooting stars Use Cases: Night sky backgrounds, celestial themes Docs: https://ui.aceternity.com/components/shooting-stars-and-stars-background
15. Vortex
Command: bunx shadcn@latest add @aceternity/vortex Description: Swirling vortex animation Use Cases: Dynamic hero sections, attention-grabbing backgrounds Docs: https://ui.aceternity.com/components/vortex
16. Spotlight
Command: bunx shadcn@latest add @aceternity/spotlight Description: Spotlight effect illuminating content Use Cases: Feature highlights, dramatic reveals Docs: https://ui.aceternity.com/components/spotlight
17. Spotlight New
Command: bunx shadcn@latest add @aceternity/spotlight-new Description: Updated version of spotlight with enhanced effects Use Cases: Modern feature highlights, improved performance Docs: https://ui.aceternity.com/components/spotlight-new
18. Canvas Reveal Effect
Command: bunx shadcn@latest add @aceternity/canvas-reveal-effect Description: Content reveals using canvas animations Use Cases: Interactive reveals, hover-based animations Docs: https://ui.aceternity.com/components/canvas-reveal-effect
19. SVG Mask Effect
Command: bunx shadcn@latest add @aceternity/svg-mask-effect Description: SVG-based masking animations Use Cases: Custom shape reveals, creative transitions Docs: https://ui.aceternity.com/components/svg-mask-effect
20. Tracing Beam
Command: bunx shadcn@latest add @aceternity/tracing-beam Description: Beam that traces along content path Use Cases: Guided content flow, reading direction indicators Docs: https://ui.aceternity.com/components/tracing-beam
21. Lamp Effect
Command: bunx shadcn@latest add @aceternity/lamp-effect Description: Illuminating lamp light effect Use Cases: Dramatic lighting, focused attention areas Docs: https://ui.aceternity.com/components/lamp-effect
22. Grid and Dot Backgrounds
Command: bunx shadcn@latest add @aceternity/grid-and-dot-backgrounds Description: Subtle grid or dot patterns Use Cases: Clean backgrounds, blueprint-style designs Docs: https://ui.aceternity.com/components/grid-and-dot-backgrounds
23. Google Gemini Effect
Command: bunx shadcn@latest add @aceternity/google-gemini-effect Description: AI-inspired flowing gradient effect (like Google Gemini) Use Cases: AI product pages, modern tech branding Docs: https://ui.aceternity.com/components/google-gemini-effect
24. Glowing Effect
Command: bunx shadcn@latest add @aceternity/glowing-effect Description: Soft glowing light effect Use Cases: Premium feeling, highlight important areas Docs: https://ui.aceternity.com/components/glowing-effect
---
Card Components
1. Tooltip Card
Command: bunx shadcn@latest add @aceternity/tooltip-card Description: Cards with built-in tooltip functionality Use Cases: Information cards, hover details Docs: https://ui.aceternity.com/components/tooltip-card
2. Pixelated Canvas
Command: bunx shadcn@latest add @aceternity/pixelated-canvas Description: Pixelated/mosaic effect on hover Use Cases: Retro designs, creative hover effects Docs: https://ui.aceternity.com/components/pixelated-canvas
3. 3D Card Effect
Command: bunx shadcn@latest add @aceternity/3d-card Description: Cards with CSS 3D perspective transforms Use Cases: Product cards, portfolio items, feature highlights Docs: https://ui.aceternity.com/components/3d-card-effect
4. Evervault Card
Command: bunx shadcn@latest add @aceternity/evervault-card Description: Card with encrypted/matrix style hover effect Use Cases: Security features, tech-focused content Docs: https://ui.aceternity.com/components/evervault-card
5. Card Stack
Command: bunx shadcn@latest add @aceternity/card-stack Description: Stacked cards that can be dragged/swiped Use Cases: Testimonials, image stacks, Tinder-style interfaces Docs: https://ui.aceternity.com/components/card-stack
6. Card Hover Effect
Command: bunx shadcn@latest add @aceternity/card-hover-effect Description: Cards with smooth hover animations Use Cases: Feature grids, service offerings Docs: https://ui.aceternity.com/components/card-hover-effect
7. Wobble Card
Command: bunx shadcn@latest add @aceternity/wobble-card Description: Cards with playful wobble animation Use Cases: Fun, casual designs, interactive elements Docs: https://ui.aceternity.com/components/wobble-card
8. Expandable Card
Command: bunx shadcn@latest add @aceternity/expandable-card Description: Cards that expand to show more content Use Cases: FAQs, detailed product info, accordions Docs: https://ui.aceternity.com/components/expandable-card
9. Card Spotlight
Command: bunx shadcn@latest add @aceternity/card-spotlight Description: Spotlight effect following mouse on card Use Cases: Premium cards, highlighting features Docs: https://ui.aceternity.com/components/card-spotlight
10. Focus Cards
Command: bunx shadcn@latest add @aceternity/focus-cards Description: Cards that focus/highlight on hover while others blur Use Cases: Feature showcases, portfolio grids Docs: https://ui.aceternity.com/components/focus-cards
11. Infinite Moving Cards
Command: bunx shadcn@latest add @aceternity/infinite-moving-cards Description: Auto-scrolling card carousel Use Cases: Testimonials, logo clouds, continuous showcases Docs: https://ui.aceternity.com/components/infinite-moving-cards
12. Draggable Card
Command: bunx shadcn@latest add @aceternity/draggable-card Description: Cards that can be dragged around Use Cases: Interactive dashboards, customizable layouts Docs: https://ui.aceternity.com/components/draggable-card
13. Comet Card
Command: bunx shadcn@latest add @aceternity/comet-card Description: Card with comet trail animation Use Cases: Premium cards, space-themed designs Docs: https://ui.aceternity.com/components/comet-card
14. Glare Card
Command: bunx shadcn@latest add @aceternity/glare-card Description: Holographic glare effect on card Use Cases: Premium products, special offers Docs: https://ui.aceternity.com/components/glare-card
15. Direction Aware Hover
Command: bunx shadcn@latest add @aceternity/direction-aware-hover Description: Hover effects based on cursor entry direction Use Cases: Creative portfolios, unique interactions Docs: https://ui.aceternity.com/components/direction-aware-hover
---
Scroll & Parallax
1. Parallax Scroll
Command: bunx shadcn@latest add @aceternity/parallax-scroll Description: Images with parallax scrolling effect Use Cases: Image galleries, portfolio showcases Docs: https://ui.aceternity.com/components/parallax-scroll
2. Sticky Scroll Reveal
Command: bunx shadcn@latest add @aceternity/sticky-scroll-reveal Description: Content reveals while scrolling with sticky positioning Use Cases: Feature explanations, step-by-step guides Docs: https://ui.aceternity.com/components/sticky-scroll-reveal
3. MacBook Scroll
Command: bunx shadcn@latest add @aceternity/macbook-scroll Description: MacBook-style scroll interactions Use Cases: Product showcases, app demonstrations Docs: https://ui.aceternity.com/components/macbook-scroll
4. Container Scroll Animation
Command: bunx shadcn@latest add @aceternity/container-scroll-animation Description: Animated containers triggered by scroll Use Cases: Section transitions, scroll-based reveals Docs: https://ui.aceternity.com/components/container-scroll-animation
5. Hero Parallax
Command: bunx shadcn@latest add @aceternity/hero-parallax Description: Parallax effect for hero sections Use Cases: Landing page heroes, featured content Docs: https://ui.aceternity.com/components/hero-parallax
---
Text Components
1. Encrypted Text
Command: bunx shadcn@latest add @aceternity/encrypted-text Description: Matrix-style encrypted text reveal Use Cases: Tech/security pages, dramatic text reveals Docs: https://ui.aceternity.com/components/encrypted-text
2. Layout Text Flip
Command: bunx shadcn@latest add @aceternity/layout-text-flip Description: Text flipping animation on layout changes Use Cases: Interactive headings, dynamic content Docs: https://ui.aceternity.com/components/layout-text-flip
3. Colourful Text
Command: bunx shadcn@latest add @aceternity/colourful-text Description: Gradient animated text colors Use Cases: Eye-catching headlines, brand emphasis Docs: https://ui.aceternity.com/components/colourful-text
4. Text Generate Effect
Command: bunx shadcn@latest add @aceternity/text-generate-effect Description: Text appearing character by character Use Cases: Dramatic text reveals, loading states Docs: https://ui.aceternity.com/components/text-generate-effect
5. Typewriter Effect
Command: bunx shadcn@latest add @aceternity/typewriter-effect Description: Classic typewriter animation Use Cases: Hero headings, dynamic text display Docs: https://ui.aceternity.com/components/typewriter-effect
6. Flip Words
Command: bunx shadcn@latest add @aceternity/flip-words Description: Words rotating/flipping in sequence Use Cases: Multiple value propositions, dynamic headlines Docs: https://ui.aceternity.com/components/flip-words
7. Text Hover Effect
Command: bunx shadcn@latest add @aceternity/text-hover-effect Description: Interactive text effects on hover Use Cases: Navigation links, call-to-actions Docs: https://ui.aceternity.com/components/text-hover-effect
8. Container Text Flip
Command: bunx shadcn@latest add @aceternity/container-text-flip Description: Text flipping within containers Use Cases: Card content, section headings Docs: https://ui.aceternity.com/components/container-text-flip
9. Hero Highlight
Command: bunx shadcn@latest add @aceternity/hero-highlight Description: Gradient highlights on text Use Cases: Hero headings, important text emphasis Docs: https://ui.aceternity.com/components/hero-highlight
10. Text Reveal Card
Command: bunx shadcn@latest add @aceternity/text-reveal-card Description: Text revealing from cards Use Cases: Hidden content reveals, interactive cards Docs: https://ui.aceternity.com/components/text-reveal-card
---
Buttons
1. Tailwind CSS Buttons
Command: bunx shadcn@latest add @aceternity/tailwindcss-buttons Description: Collection of pre-styled button variants Use Cases: CTAs, forms, navigation Docs: https://ui.aceternity.com/components/tailwindcss-buttons
2. Hover Border Gradient
Command: bunx shadcn@latest add @aceternity/hover-border-gradient Description: Animated gradient border on hover Use Cases: Primary CTAs, special actions Docs: https://ui.aceternity.com/components/hover-border-gradient
3. Moving Border
Command: bunx shadcn@latest add @aceternity/moving-border Description: Border that animates around button Use Cases: Premium CTAs, attention-grabbing buttons Docs: https://ui.aceternity.com/components/moving-border
4. Stateful Button
Command: bunx shadcn@latest add @aceternity/stateful-button Description: Button with multi-state transitions (loading, success, error) Use Cases: Form submissions, async actions Docs: https://ui.aceternity.com/components/stateful-button
---
Loaders
1. Multi-step Loader
Command: bunx shadcn@latest add @aceternity/multi-step-loader Description: Loader showing multiple steps/stages Use Cases: Multi-step processes, onboarding Docs: https://ui.aceternity.com/components/multi-step-loader
2. Loader
Command: bunx shadcn@latest add @aceternity/loader Description: Various loading spinner animations Use Cases: Page loading, async operations Docs: https://ui.aceternity.com/components/loader
---
Navigation
1. Floating Navbar
Command: bunx shadcn@latest add @aceternity/floating-navbar Description: Floating navigation bar Use Cases: Modern websites, minimalist navigation Docs: https://ui.aceternity.com/components/floating-navbar
2. Navbar Menu
Command: bunx shadcn@latest add @aceternity/navbar-menu Description: Full-featured navigation menu with animations Use Cases: Complex navigation, multi-level menus Docs: https://ui.aceternity.com/components/navbar-menu
3. Tabs
Command: bunx shadcn@latest add @aceternity/tabs Description: Animated tab component Use Cases: Content sections, settings panels Docs: https://ui.aceternity.com/components/tabs
4. Resizable Navbar
Command: bunx shadcn@latest add @aceternity/resizable-navbar Description: Navbar that adapts to screen size Use Cases: Responsive navigation, mobile-first designs Docs: https://ui.aceternity.com/components/resizable-navbar
5. Sticky Banner
Command: bunx shadcn@latest add @aceternity/sticky-banner Description: Sticky announcement banner Use Cases: Promotions, important announcements Docs: https://ui.aceternity.com/components/sticky-banner
---
Input & Forms
1. Signup Form
Command: bunx shadcn@latest add @aceternity/signup-form Description: Animated signup form component Use Cases: User registration, lead capture Docs: https://ui.aceternity.com/components/signup-form
2. Placeholders and Vanish Input
Command: bunx shadcn@latest add @aceternity/placeholders-and-vanish-input Description: Input with animated placeholder that vanishes Use Cases: Search bars, forms with multiple placeholder options Docs: https://ui.aceternity.com/components/placeholders-and-vanish-input
3. File Upload
Command: bunx shadcn@latest add @aceternity/file-upload Description: Drag-and-drop file upload component Use Cases: Document uploads, image uploads Docs: https://ui.aceternity.com/components/file-upload
---
Overlays & Popovers
1. Animated Modal
Command: bunx shadcn@latest add @aceternity/animated-modal Description: Modal with smooth animations Use Cases: Forms, confirmations, content displays Docs: https://ui.aceternity.com/components/animated-modal
2. Animated Tooltip
Command: bunx shadcn@latest add @aceternity/animated-tooltip Description: Tooltip with enter/exit animations Use Cases: Helper text, additional information Docs: https://ui.aceternity.com/components/animated-tooltip
3. Link Preview
Command: bunx shadcn@latest add @aceternity/link-preview Description: Preview popover on link hover Use Cases: External links, reference links Docs: https://ui.aceternity.com/components/link-preview
---
Carousels & Sliders
1. Images Slider
Command: bunx shadcn@latest add @aceternity/images-slider Description: Full-screen image slider Use Cases: Hero images, photo galleries Docs: https://ui.aceternity.com/components/images-slider
2. Carousel
Command: bunx shadcn@latest add @aceternity/carousel Description: Standard carousel component Use Cases: Product images, testimonials Docs: https://ui.aceternity.com/components/carousel
3. Apple Cards Carousel
Command: bunx shadcn@latest add @aceternity/apple-cards-carousel Description: Apple-style card carousel Use Cases: Featured content, product showcases Docs: https://ui.aceternity.com/components/apple-cards-carousel
4. Animated Testimonials
Command: bunx shadcn@latest add @aceternity/animated-testimonials Description: Testimonial carousel with animations Use Cases: Customer reviews, social proof Docs: https://ui.aceternity.com/components/animated-testimonials
---
Layout & Grid
1. Layout Grid
Command: bunx shadcn@latest add @aceternity/layout-grid Description: Animated grid layout system Use Cases: Gallery layouts, masonry grids Docs: https://ui.aceternity.com/components/layout-grid
2. Bento Grid
Command: bunx shadcn@latest add @aceternity/bento-grid Description: Bento-box style grid layout Use Cases: Feature grids, dashboard layouts Docs: https://ui.aceternity.com/components/bento-grid
3. Container Cover
Command: bunx shadcn@latest add @aceternity/container-cover Description: Full-screen container component Use Cases: Landing pages, hero sections Docs: https://ui.aceternity.com/components/container-cover
---
Data & Visualization
1. Timeline
Command: bunx shadcn@latest add @aceternity/timeline Description: Animated timeline component Use Cases: Company history, project milestones, roadmaps Docs: https://ui.aceternity.com/components/timeline
2. Compare
Command: bunx shadcn@latest add @aceternity/compare Description: Before/after comparison slider Use Cases: Image comparisons, feature comparisons Docs: https://ui.aceternity.com/components/compare
---
Cursor & Pointer
1. Following Pointer
Command: bunx shadcn@latest add @aceternity/following-pointer Description: Elements that follow cursor movement Use Cases: Interactive effects, playful interactions Docs: https://ui.aceternity.com/components/following-pointer
2. Pointer Highlight
Command: bunx shadcn@latest add @aceternity/pointer-highlight Description: Highlight effect following cursor Use Cases: Drawing attention, interactive areas Docs: https://ui.aceternity.com/components/pointer-highlight
3. Lens
Command: bunx shadcn@latest add @aceternity/lens Description: Magnifying lens effect on hover Use Cases: Image details, zoom functionality Docs: https://ui.aceternity.com/components/lens
---
3D Components
1. 3D Pin
Command: bunx shadcn@latest add @aceternity/3d-pin Description: Pinterest-style 3D card effect Use Cases: Image galleries, product grids Docs: https://ui.aceternity.com/components/3d-pin
2. 3D Marquee
Command: bunx shadcn@latest add @aceternity/3d-marquee Description: 3D rotating marquee/carousel Use Cases: Logo clouds, infinite showcases Docs: https://ui.aceternity.com/components/3d-marquee
---
Sections & Blocks
1. Feature Sections
Command: bunx shadcn@latest add @aceternity/feature-sections Description: Pre-built feature section templates Use Cases: Product features, service offerings Docs: https://ui.aceternity.com/components/feature-sections
2. Cards
Command: bunx shadcn@latest add @aceternity/cards Description: Collection of pre-designed card layouts Use Cases: Various card-based layouts Docs: https://ui.aceternity.com/components/cards
3. Hero Sections
Command: bunx shadcn@latest add @aceternity/hero-sections Description: Pre-built hero section templates Use Cases: Landing page heroes Docs: https://ui.aceternity.com/components/hero-sections
---
Installation Quick Reference
Bun (Preferred)
bunx shadcn@latest add @aceternity/[component-name]npm
npx shadcn@latest add @aceternity/[component-name]pnpm
pnpm dlx shadcn@latest add @aceternity/[component-name]---
Total Components: 100+ Last Updated: 2025-11-11 Documentation: https://ui.aceternity.com
Aceternity UI Quick Start Guide
Fast-track guide to get started with Aceternity UI in your Next.js project.
Prerequisites
- Node.js 18+ installed
- Package manager: bun (preferred), npm, or pnpm
- Basic knowledge of React and Next.js
- Basic knowledge of Tailwind CSS
5-Minute Setup
Step 1: Create Next.js Project (2 minutes)
Using bun (fastest):
bunx create-next-app@latest my-aceternity-app
cd my-aceternity-appUsing npm:
npx create-next-app@latest my-aceternity-app
cd my-aceternity-appUsing pnpm:
pnpm create next-app@latest my-aceternity-app
cd my-aceternity-appConfiguration prompts - select:
- ✅ TypeScript: Yes
- ✅ ESLint: Yes
- ✅ Tailwind CSS: Yes
- ⚪ src/ directory: Your preference (optional)
- ✅ App Router: Yes (recommended)
- ✅ Import alias: @/* (default)
Step 2: Initialize shadcn (1 minute)
Using bun:
bunx --bun shadcn@latest initUsing npm:
npx shadcn@latest initUsing pnpm:
pnpm dlx shadcn@latest initConfiguration prompts - select:
- Style: New York (recommended)
- Color: Zinc (or your preference)
- CSS variables: Yes (recommended)
Step 3: Configure Aceternity Registry (1 minute)
Open components.json and add the Aceternity registry:
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "app/globals.css",
"baseColor": "zinc",
"cssVariables": true
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
},
"registries": {
"@aceternity": "https://ui.aceternity.com/registry/{name}.json"
}
}Step 4: Install First Component (1 minute)
# Using bun
bunx shadcn@latest add @aceternity/background-beams
# Using npm
npx shadcn@latest add @aceternity/background-beams
# Using pnpm
pnpm dlx shadcn@latest add @aceternity/background-beamsStep 5: Create Your First Page
Replace app/page.tsx:
"use client";
import { BackgroundBeams } from "@/components/ui/background-beams";
export default function Home() {
return (
<div className="h-screen w-full bg-neutral-950 relative flex flex-col items-center justify-center antialiased">
<div className="max-w-2xl mx-auto p-4 z-10">
<h1 className="relative text-lg md:text-7xl bg-clip-text text-transparent bg-gradient-to-b from-neutral-200 to-neutral-600 text-center font-sans font-bold">
Welcome to Aceternity UI
</h1>
<p className="text-neutral-500 max-w-lg mx-auto my-2 text-sm text-center">
Build beautiful, animated interfaces with ease
</p>
</div>
<BackgroundBeams />
</div>
);
}Step 6: Run Development Server
# Using bun
bun dev
# Using npm
npm run dev
# Using pnpm
pnpm devVisit http://localhost:3000 - you should see your animated background!
Common First Components
After background-beams, try these popular components:
3D Card Effect
bunx shadcn@latest add @aceternity/3d-card"use client";
import { CardBody, CardContainer, CardItem } from "@/components/ui/3d-card";
export function MyCard() {
return (
<CardContainer>
<CardBody className="bg-gray-50 dark:bg-black p-6 rounded-xl">
<CardItem translateZ="50" className="text-2xl font-bold">
Hover Me!
</CardItem>
</CardBody>
</CardContainer>
);
}Typewriter Effect
bunx shadcn@latest add @aceternity/typewriter-effect"use client";
import { TypewriterEffect } from "@/components/ui/typewriter-effect";
const words = [
{ text: "Build" },
{ text: "amazing" },
{ text: "things" }
];
export function MyTypewriter() {
return <TypewriterEffect words={words} />;
}Animated Modal
bunx shadcn@latest add @aceternity/animated-modal"use client";
import { Modal, ModalBody, ModalContent, ModalTrigger } from "@/components/ui/animated-modal";
export function MyModal() {
return (
<Modal>
<ModalTrigger className="bg-black text-white px-4 py-2 rounded-md">
Open Modal
</ModalTrigger>
<ModalBody>
<ModalContent>
<h2>Modal Content</h2>
</ModalContent>
</ModalBody>
</Modal>
);
}Manual Installation (Alternative)
If the registry approach doesn't work:
1. Install Dependencies
# Using bun
bun add motion clsx tailwind-merge
# Using npm
npm install motion clsx tailwind-merge
# Using pnpm
pnpm add motion clsx tailwind-merge2. Add Utility Function
Create lib/utils.ts:
import { clsx, type ClassValue } from "clsx"
import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}3. Copy Component Code
Visit https://ui.aceternity.com/components/[component-name] and copy the code to your project.
Project Structure
After setup, your project should look like:
my-aceternity-app/
├── app/
│ ├── globals.css
│ ├── layout.tsx
│ └── page.tsx
├── components/
│ └── ui/
│ ├── background-beams.tsx
│ ├── 3d-card.tsx
│ └── ... (other components)
├── lib/
│ └── utils.ts
├── components.json
├── tailwind.config.ts
├── tsconfig.json
└── package.jsonTroubleshooting
"Module not found: motion"
bun add motion
# or: npm install motion
# or: pnpm add motion"cn is not defined"
Make sure lib/utils.ts exists with the cn helper function (see Manual Installation step 2).
Components not animating
Add "use client" directive at the top of your component file:
"use client";
import { Component } from "@/components/ui/component";Tailwind classes not applying
Check that app/globals.css includes:
@tailwind base;
@tailwind components;
@tailwind utilities;Dark mode not working
Update tailwind.config.ts:
import type { Config } from "tailwindcss";
const config: Config = {
darkMode: "class", // Add this line
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
// ... rest of config
};
export default config;Next Steps
1. Explore Components: Browse https://ui.aceternity.com/components 2. Combine Components: Mix backgrounds, cards, and text effects 3. Customize: Edit component source code directly in your project 4. Build Pages: Create hero sections, feature pages, portfolios 5. Deploy: Deploy to Vercel, Netlify, or Cloudflare Pages
Best Practices
Performance
Lazy load heavy components:
import dynamic from 'next/dynamic';
const HeavyComponent = dynamic(
() => import('@/components/ui/heavy-component'),
{ ssr: false }
);Accessibility
Always add ARIA labels:
<button aria-label="Open menu" className="...">
<MenuIcon />
</button>Responsive Design
Use Tailwind responsive prefixes:
<h1 className="text-2xl md:text-4xl lg:text-6xl">
Responsive Heading
</h1>Dark Mode
Use dark: prefix:
<div className="bg-white dark:bg-black text-black dark:text-white">
Content
</div>Common Patterns
Hero Section with Multiple Components
"use client";
import { BackgroundBeams } from "@/components/ui/background-beams";
import { TypewriterEffect } from "@/components/ui/typewriter-effect";
import { MovingBorder } from "@/components/ui/moving-border";
export default function Hero() {
const words = [
{ text: "Build" },
{ text: "your" },
{ text: "dream", className: "text-blue-500" },
{ text: "product", className: "text-blue-500" }
];
return (
<div className="h-screen relative bg-black">
<div className="flex flex-col items-center justify-center h-full z-10 relative">
<TypewriterEffect words={words} />
<p className="text-neutral-400 text-xl mt-4 max-w-2xl text-center">
Transform your ideas into reality with our platform
</p>
<MovingBorder duration={2000} className="mt-8">
<button className="px-8 py-4 text-lg">Get Started</button>
</MovingBorder>
</div>
<BackgroundBeams />
</div>
);
}Feature Grid with Cards
"use client";
import { CardBody, CardContainer, CardItem } from "@/components/ui/3d-card";
const features = [
{ title: "Fast", description: "Lightning quick performance" },
{ title: "Secure", description: "Enterprise-grade security" },
{ title: "Scalable", description: "Grows with your business" }
];
export function Features() {
return (
<div className="grid grid-cols-1 md:grid-cols-3 gap-8 p-8">
{features.map((feature, idx) => (
<CardContainer key={idx}>
<CardBody className="bg-gray-50 dark:bg-black p-6 rounded-xl">
<CardItem translateZ="50" className="text-2xl font-bold">
{feature.title}
</CardItem>
<CardItem translateZ="60" as="p" className="text-sm mt-2">
{feature.description}
</CardItem>
</CardBody>
</CardContainer>
))}
</div>
);
}Resources
- Documentation: https://ui.aceternity.com/docs
- Components: https://ui.aceternity.com/components
- Examples: https://ui.aceternity.com/examples
- Shadcn: https://ui.shadcn.com
- Next.js: https://nextjs.org
- Tailwind: https://tailwindcss.com
Getting Help
- Check the official documentation
- Review component source code in your project
- Search GitHub issues
- Join the community Discord
---
Happy Building! 🚀
Related skills
How it compares
Use aceternity-ui for animated marketing React components via shadcn rather than generic shadcn/ui form and dashboard patterns alone.
FAQ
Which framework is required?
Next.js with Tailwind CSS for Aceternity UI components.
Does it work with shadcn?
Yes; includes guidance for shadcn CLI integration and common errors.
How many components are covered?
100+ animated React components from the Aceternity UI library.
Is Aceternity Ui safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.