What is the magic-ui skill?
The magic-ui skill is a SKILL.md in the magicuidesign/magicui repository. It guides an AI coding agent to choose animated components, confirm a React or Next.js project with Tailwind and shadcn, install from the @magicui registry, integrate them and test accessibility and performance. Two reference files load on demand.
Magic UI is a library of animated components and effects you copy into your own app. The skill sits in that library's repository and tells an agent how to add, customize and troubleshoot those components in React and Next.js projects.
Its folder holds SKILL.md and a references folder with components.md and recipes.md. The agent loads them only when it needs component choice details or section level patterns.
When the skill applies
- Adding one Magic UI component, such as marquee, globe, blur-fade or shiny-button.
- Building a section with effects, such as a hero, testimonials, a call to action or a feature grid.
- Replacing hand written animation code with a Magic UI component.
- Fixing install or import problems with the @magicui registry.
The five part workflow
- Define the outcome: section type, tone, motion intensity and responsive behavior.
- Confirm prerequisites: React or Next.js with Tailwind CSS, and shadcn initialized.
- Install the chosen components from the registry.
- Integrate by importing from the generated path and customizing through props and className.
- Validate accessibility, responsiveness, performance and maintainability.
Picking components
- Social proof rails: marquee and avatar-circles.
- Hero impact: globe, warp-background and animated-grid-pattern.
- Text animation: blur-fade, text-animate, word-rotate and sparkles-text.
- Calls to action: shiny-button, shimmer-button and rainbow-button.
- Ambient backgrounds: grid-pattern, dot-pattern, particles and flickering-grid.
Who the magic-ui skill is for
Best for
- Landing pages and marketing sections in React or Next.js that need motion without custom animation code.
- Projects that already use shadcn, since the install path runs through its registry. See the shadcn skill for the base layer.
- Agents that also connect to the docs through the Magic UI MCP server.
Not for
- Stacks without React and Tailwind, since the skill lists both as prerequisites.
- Hand tuned timelines. For custom motion in React, see motion-framer-motion.
Use it with UiChemy
Magic UI output is React code, so it will not paste into an Elementor page. To reach WordPress, prototype the section, capture the look in Figma or Composer, then convert with UiChemy. Click Get Started on uichemy.com. For styling help, see ui-styling.
How to install Magic UI Skill: Add Animated Components With shadcn
git clone https://github.com/magicuidesign/magicui.gitThe skill points to an optional MCP setup page for AI IDE workflows on the Magic UI docs site. It is not required for the skill.Clone the repository
Run
git clone https://github.com/magicuidesign/magicui.git. The skill is the skills/magic-ui folder, with SKILL.md and a references folder.Copy the skill folder
Copy skills/magic-ui, references included, into the place your agent loads skills from. The README gives no skill install command and names no agent folder.
Prepare the project
The skill expects React or Next.js with Tailwind CSS. Run
npx shadcn@latest initif components.json is missing.Ask for a component
Ask for a hero, testimonial strip or button effect. The skill installs each choice with
npx shadcn@latest add @magicui/magic-card, swapping in the slug you need. Docs live at magicui.design/docs.
Check that it loaded
Ask the agent to add a marquee to a section. It should confirm shadcn is initialized, run the add command with the marquee slug, import from the generated path and then check mobile layout.
Key features
- Clear trigger listApply the skill to add a component, build an effects section, replace custom animation code or troubleshoot @magicui installs.
- Outcome firstThe agent defines section type, tone, motion intensity and responsive behavior before touching code, and keeps motion intentional.
- Prerequisite checkRequires a React or Next.js project with Tailwind CSS, and shadcn initialized before registry components are added.
- Registry installComponents install with the shadcn add command and an @magicui component slug, with magic-card given as the example.
- Integration rulesImport from the generated path, keep component APIs intact, prefer prop and className changes, and add any extra dependencies or CSS keyframes the docs mention.
- Four point quality checkBefore finishing, check accessibility, responsive overflow, performance and maintainability against the project's existing conventions.
- Selection heuristicsMaps use cases to components: logo rails, hero visuals, text animation, call to action emphasis and ambient backgrounds.
- Start smallBegin with one core component and one supporting effect, and add more only if needed, to avoid stacking high motion effects.
- Troubleshooting guideHandles a components.json or init error, a missing @ alias, visual mismatch from missing keyframes and missing dependency errors.
- On demand referencescomponents.md covers component choice, install shape and dependencies, and recipes.md covers section level patterns.
Frequently asked questions
What is the magic-ui skill?
It is a skill in the magicuidesign/magicui repository that helps an AI coding agent add, customize and troubleshoot Magic UI components in React and Next.js projects. It covers selection, shadcn registry installation, integration and a quality check.
How do I install the magic-ui skill?
The README gives no skill command, so clone magicuidesign/magicui and copy skills/magic-ui, with its references folder, into the place your agent loads skills from. Components themselves install later with the shadcn add command and an @magicui slug.
What does a project need before using the skill?
The skill says the project should be React or Next.js with Tailwind CSS, and that shadcn must be initialized before registry components are added. Without components.json, it tells the agent to run the shadcn init command in the project root.
Which components does the skill recommend?
For logo rails it names marquee and avatar-circles. For heroes it names globe, warp-background and animated-grid-pattern. It also lists text effects, button effects and background patterns, and advises starting with one core component plus one supporting effect.
How does the skill handle accessibility and performance?
Its final step checks semantic HTML, keyboard access and meaningful labels, then mobile layout and overflow, then performance. It warns against unnecessary client only wrappers and stacking many high motion effects in one viewport.
Which AI agents can use the magic-ui skill?
The repository does not list supported agents. It is a standard SKILL.md folder, so Claude Code, Cursor, Codex or another agent may load it if that tool supports skill folders. The skill also links an optional MCP setup guide for AI IDE workflows.
What license does Magic UI use?
The magicuidesign/magicui repository is licensed under MIT, according to GitHub and the README license badge. The README titles the library UI Library for Design Engineers, and GitHub describes it as animated components and effects you can copy and paste. The skill folder sits in the same repository.


