magic-ui-generator

Generates multiple UI component variations using Magic by 21st.dev for Next.js projects.

1|Updated Aug 17, 2025
One-click install
npx skills add https://github.com/ratnesh-maurya/mdconverter --skill magic-ui-generator-ratnesh-maurya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: magic-ui-generator
Source: https://github.com/ratnesh-maurya/mdconverter/tree/main/.claude/skills/magic-ui-generator
Command: npx skills add https://github.com/ratnesh-maurya/mdconverter --skill magic-ui-generator-ratnesh-maurya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lucide-react, framer-motion.

What problem does it solve? Building modern UI components from scratch often results in generic, uninspired designs. This Skill solves that by generating multiple distinct design variations for any requested component, letting you compare options before committing code to your project. ## Core Features & Use Cases - Multi-Variation Generation: Produces several distinct styles for components like pricing tables, hero sections, and contact forms via Magic by 21st.dev. - Design Library Inspiration: Draws from curated component libraries including Shadcn UI, Magic UI, and Aceternity. - Logo and Icon Support: Integrates with SVGL for professional logos and icons. - Use Case: You need a pricing table for a Next.js SaaS app. The Skill generates three variations (e.g., glassmorphism, animated borders, minimal), you pick one, and it integrates production-ready TypeScript code with proper dependencies like lucide-react and framer-motion. ## Quick Start Ask the agent to generate a modern pricing table component with multiple design variations for your Next.js project.

Frequently Asked Questions about magic-ui-generator

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

FAQPage Schema
How do I generate multiple UI component variations with 21st.dev Magic?

Describe the component you need, and the Skill interfaces with the Magic MCP server or browser subagent to produce several distinct design variations. You review the options side-by-side, then the chosen variation is integrated as TypeScript code.

What types of components can Magic UI Generator create?

It handles common UI elements like pricing tables, contact forms, and hero sections, plus enhancements with animations and advanced styling. It also supports professional logos and icons through the built-in SVGL integration.

Does Magic UI Generator work with Next.js and Tailwind CSS?

Yes, the Skill aligns generated output with the project's stack, specifically targeting Next.js, TypeScript, and Tailwind CSS. It ensures generated code includes proper props, types, and responsive behavior.

What dependencies does the generated UI code require?

Generated components typically require lucide-react for icons and framer-motion for animations. The Skill ensures these dependencies are installed during the integration step.

When should I not use AI-generated UI component variations?

Avoid this approach when strict brand design systems mandate exact component specs with no stylistic deviation, or when working in non-React stacks, since the output targets TypeScript React components.