magic-ui

Installs and integrates Magic UI animated components into React and Next.js projects.

Updated Aug 10, 2026
One-click install
npx skills add https://github.com/KryptaMedina7/quero-s-home --skill magic-ui-kryptamedina7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: magic-ui
Source: https://github.com/KryptaMedina7/quero-s-home/tree/main/.agents/skills/magic-ui
Command: npx skills add https://github.com/KryptaMedina7/quero-s-home --skill magic-ui-kryptamedina7

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Adding polished animated UI sections to a React or Next.js project often means writing custom animation code from scratch or debugging broken registry installs. This Skill guides component selection, shadcn registry installation, and integration of Magic UI components while enforcing accessibility and performance checks. ## Core Features & Use Cases - Component Selection Guidance: Heuristics map UI goals (hero visuals, social proof, CTA emphasis, ambient backgrounds) to specific Magic UI components like marquee, globe, blur-fade, and shiny-button. - Registry Installation Workflow: Step-by-step shadcn initialization and @magicui/* component installation with import path conventions. - Section Recipes: Ready-made patterns for hero sections, testimonial marquees, and feature grids with motion guardrails. - Use Case: A developer wants to add an animated hero with a warp background, blur-fade heading, and shiny CTA button to a landing page; the Skill provides the exact install commands, integration steps, and quality checklist. ## Quick Start Ask the assistant to add a Magic UI marquee component to your Next.js project and it will initialize shadcn, install the component, and integrate it into your section.

Frequently Asked Questions about magic-ui

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install Magic UI components in a Next.js project?

Initialize shadcn once with npx shadcn@latest init, then add components via npx shadcn@latest add @magicui/<component-slug>. Import the component from @/components/ui/<component-slug> or adapt to your project's alias conventions.

Which Magic UI component should I use for a hero section?

Use warp-background or animated-grid-pattern as the primary visual anchor, blur-fade for heading entrance, and shiny-button for the CTA. Keep one primary visual per hero and avoid stacking more than two high-motion effects.

Does Magic UI require Tailwind CSS and shadcn?

Yes, the project should be React or Next.js with Tailwind CSS, and shadcn must be initialized before adding registry components. Without shadcn init, the @magicui registry install will fail.

Why does my Magic UI component look wrong after installation?

Visual mismatches usually come from missing global CSS keyframes or extra dependencies listed in the component docs, such as cobe or motion for globe. Check the component's manual installation steps and add the required CSS and packages.

How do I fix @/ import alias errors with Magic UI components?

The @/ alias error means your project is not configured for that import style. Either configure the alias in your project or rewrite the imports using relative paths matching your local conventions.