Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
magicuidesign avatar

Magic Ui

  • 447 installs
  • 21.5k repo stars
  • Updated July 2, 2026
  • magicuidesign/magicui

Magic UI is an agent skill that helps developers add, customize, and troubleshoot Magic UI animated components in React and Next.js projects via the shadcn @magicui registry.

About

Magic UI is an agent skill for selecting, installing, and integrating Magic UI components into React and Next.js projects that already use Tailwind CSS and shadcn. It starts by defining the UI outcome: section type, tone, motion intensity, and responsive behavior, then confirms shadcn is initialized before running npx shadcn@latest add @magicui/<component-slug>. Components land under the project alias path, typically @/components/ui/<component-slug>, and the skill prefers prop and className customization over rewriting internals. Reference docs load on demand for component catalogs and section recipes, while heuristics map use cases to marquee and avatar-circles for social proof, globe and warp-background for hero impact, blur-fade and text-animate for typography motion, and shiny-button variants for CTAs. Quality checks cover semantic HTML, keyboard access, mobile overflow, performance from animation stacking, and maintainability against existing conventions. Troubleshooting paths address components.json init errors, @/ alias mismatches, missing global CSS keyframes, and undeclared package dependencies listed in manual install steps.

  • Installs @magicui/* components via npx shadcn@latest add registry entries
  • Maps section goals to marquee, globe, blur-fade, shiny-button, and pattern components
  • Requires shadcn init and Tailwind CSS before adding registry components
  • Validates accessibility, responsiveness, performance, and maintainability after integration
  • Troubleshoots alias paths, missing keyframes, and dependency gaps from component docs

Magic Ui by the numbers

  • 447 all-time installs (skills.sh)
  • Ranked #559 of 1,895 Design & UI/UX skills by installs in the Skillselion catalog
  • Data as of Jul 11, 2026 (Skillselion catalog sync)
At a glance

magic-ui capabilities & compatibility

Capabilities
define section type, tone, motion intensity, and · install @magicui components through npx shadcn@l · import from @/components/ui paths with prop and · load references/components.md and references/rec · diagnose components.json init, alias, keyframe,
From the docs

What magic-ui says it does

Use this skill when users want to add, customize, or troubleshoot Magic UI components in React/Next.js projects.
retag-ops/docs-cache/skill_magicuidesign_magicui_magic-ui.md
npx shadcn@latest add @magicui/<component-slug>
retag-ops/docs-cache/skill_magicuidesign_magicui_magic-ui.md
Start with 1 core component + 1 supporting effect, then expand only if needed.
retag-ops/docs-cache/skill_magicuidesign_magicui_magic-ui.md
npx skills add https://github.com/magicuidesign/magicui --skill magic-ui

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs447
repo stars21.5k
Last updatedJuly 2, 2026
Repositorymagicuidesign/magicui

How do you add polished animated UI sections without rewriting custom motion code or breaking shadcn registry installs?

Add, customize, and troubleshoot Magic UI animated React components installed through the shadcn @magicui registry in Next.js and Tailwind projects.

Who is it for?

Developers shipping React or Next.js sites with Tailwind and shadcn who want animated heroes, CTAs, marquees, and text effects from the Magic UI registry.

Skip if: Skip for non-React stacks, projects without Tailwind and shadcn initialized, or tasks that only need plain unstyled HTML.

When should I use this skill?

Use when the user asks to add a Magic UI component, build an animated section, replace custom animation code, or debug @magicui install and import errors.

What you get

Installed @magicui components integrated into the target section with intentional motion, accessible markup, and fixes for registry, alias, and dependency issues.

  • Installed @magicui component under the project components path
  • Integrated section with validated accessibility and responsive behavior

By the numbers

  • Component heuristics cover social proof, hero, text animation, CTA, and ambient background families
  • Five-step workflow from outcome definition through install, integration, and quality validation

Files

SKILL.mdMarkdownGitHub ↗

Magic UI

Use this skill when the task involves Magic UI components, animated UI sections, or converting static sections into interactive UI using the Magic UI registry.

When To Apply

Apply this skill when users ask to:

  • Add a Magic UI component (for example: marquee, globe, blur-fade, shiny-button)
  • Build a section with Magic UI effects (hero, testimonials, CTA, feature grid)
  • Replace custom animation code with Magic UI components
  • Troubleshoot installation/import issues for @magicui/*

Core Workflow

1. Define the UI outcome first.

  • Identify section type, tone, motion intensity, and responsive behavior.
  • Keep motion intentional; avoid stacking many high-motion effects in one viewport.

2. Confirm project prerequisites.

  • Project should be React/Next.js with Tailwind CSS.
  • shadcn must be initialized before adding registry components:
npx shadcn@latest init

3. Install the selected component(s).

npx shadcn@latest add @magicui/<component-slug>

Example:

npx shadcn@latest add @magicui/magic-card

4. Integrate into the target section.

  • Import from the generated path (typically @/components/ui/<component-slug>).
  • Keep component APIs intact; prefer prop/className customization over rewriting internals.
  • If docs mention extra dependencies or CSS keyframes, add them during integration.

5. Validate quality before finishing.

  • Accessibility: semantic HTML, keyboard access, meaningful labels/text.
  • Responsiveness: check mobile layout and overflow behavior.
  • Performance: avoid unnecessary client-only wrappers and heavy animation stacking.
  • Maintainability: keep new code modular and consistent with existing project conventions.

References To Load On Demand

  • For component choice, install shape, and dependency expectations:
  • Read references/components.md
  • For section-level implementation patterns:
  • Read references/recipes.md

Quick Component Selection Heuristics

  • Social proof/logo rails: marquee, avatar-circles
  • Hero visual impact: globe, warp-background, animated-grid-pattern
  • Text animation: blur-fade, text-animate, word-rotate, sparkles-text
  • CTA emphasis: shiny-button, shimmer-button, rainbow-button
  • Ambient backgrounds: grid-pattern, dot-pattern, particles, flickering-grid

Start with 1 core component + 1 supporting effect, then expand only if needed.

Troubleshooting

  • components.json or registry init error:
  • Run npx shadcn@latest init in the project root.
  • Import path mismatch (@/ alias not configured):
  • Use the project's alias style or relative imports.
  • Visual mismatch after install:
  • Check for required global CSS/keyframes listed in the component docs.
  • Missing package errors:
  • Install dependencies listed in the component's manual installation steps.

Reference Links

  • Magic UI docs: https://magicui.design/docs
  • Component docs: https://magicui.design/docs/components
  • Installation: https://magicui.design/docs/installation
  • MCP setup (optional, for AI IDE workflows): https://magicui.design/docs/mcp

Related skills

How it compares

Pick magic-ui for prebuilt animated marketing sections; use raw Framer Motion when you need fully custom physics not covered by the registry.

FAQ

What must be set up before adding Magic UI components?

The project should be React or Next.js with Tailwind CSS, and shadcn must be initialized via npx shadcn@latest init before running npx shadcn@latest add @magicui/<component-slug>.

How should agents choose Magic UI components?

Pick one core component plus one supporting effect: marquee or avatar-circles for social proof, globe or warp-background for heroes, blur-fade or text-animate for typography, shiny-button variants for CTAs, and grid or particle patterns for ambient backgrounds.

What quality checks does the skill require before finishing?

Verify semantic HTML and keyboard access, mobile layout and overflow, avoid stacking heavy client-only animations, and keep imports consistent with the project alias and required global CSS keyframes.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.