magic-ui

Use this skill when users want to add, customize, or troubleshoot Magic UI components in React/Next.js projects. It covers component selection, shadcn registry installation (`@magicui/*`), integration patterns, and practical quality checks for accessibility and maintainability.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "magic-ui" with this command: npx skills add magicuidesign/magicui/magicuidesign-magicui-magic-ui

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.
  1. Confirm project prerequisites.
  • Project should be React/Next.js with Tailwind CSS.
  • shadcn must be initialized before adding registry components:
npx shadcn@latest init
  1. Install the selected component(s).
npx shadcn@latest add @magicui/<component-slug>

Example:

npx shadcn@latest add @magicui/magic-card
  1. 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.
  1. 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

test_skill

import json import tkinter as tk from tkinter import messagebox, simpledialog

Archived SourceRecently Updated
General

neo

Browse websites, read web pages, interact with web apps, call website APIs, and automate web tasks. Use Neo when: user asks to check a website, read a web page, post on social media (Twitter/X), interact with any web app, look up information on a specific site, scrape data from websites, automate browser tasks, or when you need to call any website's API. Keywords: website, web page, browse, URL, http, API, twitter, tweet, post, scrape, web app, open site, check site, read page, social media, online service.

Archived SourceRecently Updated
General

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated
General

explainer

Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".

Archived SourceRecently Updated