magic-ui

Add and customize Magic UI components in React and Next.js projects.

Updated May 22, 2026
One-click install
npx skills add https://github.com/yusaduymaz/loexai --skill magic-ui-yusaduymaz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: magic-ui
Source: https://github.com/yusaduymaz/loexai/tree/main/wiki/sources/code/magicui/skills/magic-ui
Command: npx skills add https://github.com/yusaduymaz/loexai --skill magic-ui-yusaduymaz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Magic UI helps you turn plain React or Next.js sections into polished, animated interfaces without guessing which registry component to use or how to wire it in.

Core Features & Use Cases

  • Choose the right component for hero sections, social proof rails, text motion, CTA buttons, and ambient backgrounds.
  • Install components through the shadcn registry with integration guidance that preserves existing project conventions.
  • Troubleshoot common issues such as import paths, missing prerequisites, extra dependencies, and global CSS or keyframe requirements.
  • Example: upgrade a landing-page hero with subtle motion, a clear CTA, and a readable animated background while keeping accessibility and performance in check.

Quick Start

Ask me to add or customize a Magic UI component in your React or Next.js project, and I will recommend the right component, show how to integrate it, and verify accessibility and responsiveness.

Frequently Asked Questions about magic-ui

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

FAQPage Schema
How do I add Magic UI components to a React or Next.js project?

To add Magic UI components to a React or Next.js project, use the shadcn registry for installation. This approach integrates animated elements like hero sections and CTA buttons while preserving existing project conventions.

Do I need shadcn and Tailwind setup to use Magic UI?

Yes, you need a Tailwind-compatible React project with shadcn initialized to use Magic UI. Proper setup ensures registry-based component addition works correctly and avoids missing prerequisite errors during installation.

How do I troubleshoot Magic UI import paths and missing dependencies?

To troubleshoot Magic UI import paths and missing dependencies, verify global CSS and keyframe requirements. Correcting these path issues ensures proper component rendering and resolves extra dependency conflicts.

What is the best way to animate landing page hero sections with Magic UI?

The best way to animate landing page hero sections with Magic UI is by selecting motion accents and ambient backgrounds. This upgrades plain interfaces with subtle motion while keeping accessibility and performance in check.

Can I use Magic UI components without breaking accessibility and responsiveness?

Yes, you can use Magic UI components without breaking accessibility and responsiveness. The integration process includes validation steps to ensure animated UI elements like text motion and CTA buttons remain readable and performant.

Why does my Magic UI installation fail with registry confusion?

Magic UI installation fails with registry confusion due to incorrect component selection or missing global CSS. Using guided shadcn registry installation resolves these import path issues and ensures proper component wiring.