Token导航 LogoToken导航

Agent Skill · 前端设计

aceternity-ui(ACEternity 用户界面)

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

aceternity-ui 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 647。

总安装 15,230周安装 641GitHub Stars 126下载 5,333核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:aceternity-ui(ACEternity 用户界面)
来源仓库:https://github.com/secondsky/claude-skills
仓库路径:skills/aceternity-ui
安装命令:
npx skills add https://github.com/secondsky/claude-skills --skill aceternity-ui
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/secondsky/claude-skills --skill aceternity-ui

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

100 多个适用于 Next.js 的动画 React 组件,带有 Tailwind CSS 和 Framer Motion。

包括 15 个组件类别:背景、卡片、文本效果、按钮、导航、表单、模态、轮播、3D 效果等 通过 shadcn CLI 作为复制粘贴组件安装,具有完整的源代码访问权限以进行自定义 需要 Next.js 13+、React 16.8+、Tailwind CSS v3+ 和 TypeScript 支持 所有组件均支持深色模式,响应式设计,可组合实现复杂布局

来源仓库内路径:skills/aceternity-ui

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/secondsky/claude-skills --skill aceternity-ui;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

aceternity-ui 怎么安装?

在终端执行 npx skills add https://github.com/secondsky/claude-skills --skill aceternity-ui。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

aceternity-ui 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

aceternity-ui 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

aceternity-ui 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

aceternity-ui 用的人多吗?

公开数据是累计安装 15,230 次,近一周安装 641 次,下载 5,333 次,GitHub 126 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

aceternity-ui 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
aceternity-ui

ACEternity 用户界面 · 本页

15,230126需要联网MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

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.tsx

Manual 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-merge
  1. 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))
}
  1. Copy component code from ui.aceternity.com to your project

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 motion

2. "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 startedreferences/quick-start.md (465 lines)
Finding specific components, component categories, CLI commandsreferences/component-catalog.md (635 lines)
Usage examples, patterns, troubleshootingMain SKILL.md (this file)

Reference Summary:

  • quick-start.md - 5-minute setup guide, first component examples, troubleshooting, project structure
  • component-catalog.md - Complete list of 100+ components with install commands and use cases

Additional Resources

Related Skills

When using this skill, consider combining with:

  • nextjs - Next.js framework skill
  • tailwind-v4-shadcn - Tailwind CSS v4 configuration
  • react-hook-form-zod - Form validation
  • clerk-auth - Authentication
  • cloudflare-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

平台分布

Cursor

33.56%
按下载量换算1,790

windsurf

25.37%
按下载量换算1,353

Codex

18.17%
按下载量换算969

Claude Code

10.69%
按下载量换算570

Antigravity

4.93%
按下载量换算263

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills