Magic UI Generator
Leverage Magic by 21st.dev to build modern, responsive UI components using an AI-native workflow that prioritizes choice and design excellence.
Context
This skill leverages Magic by 21st.dev to build modern, responsive UI components. Instead of generating a single standard solution, it focuses on providing multiple design variations to choose from, drawing inspiration from a curated library of real-world components and premium design patterns (Shadcn UI, Magic UI, Aceternity, etc.).
When to Use
Trigger this skill whenever:
- A new UI component is requested (e.g., pricing tables, contact forms, hero sections).
- Enhancing an existing UI element with animations, better styling, or advanced features.
- Brainstorming different design directions for a specific feature.
- Professional logos or icons are needed (via the built-in SVGL integration).
Execution Workflow
- Analyze Requirements: Review the component description. Ensure the target output aligns with the project's stack (e.g., Next.js, TypeScript, Tailwind CSS). Define clear constraints for accessibility and responsiveness.
- Generate Variations: Interface with the Magic MCP server or use the
browser_subagent to explore 21st.dev/magic to generate several distinct, unconventional styles for the requested component.
- Pro Tip: Use descriptive prompts pushing for modern aesthetics: "avant-garde SaaS pricing table with glassmorphism and animated borders" or "highly immersive contact form with dynamic floating labels."
- Present Options: Briefly describe the generated variations side-by-side. Highlight stylistic differences, layout approaches, and premium features (sticky headers, hover animations, etc.).
- Integrate Selection: Once a favorite variation is chosen:
- Integrate the fully functional, production-ready TypeScript code.
- Ensure dependencies (
lucide-react, framer-motion) are installed.
- Handle proper props, types, and responsive behaviors.
Strict Rules
- ABSOLUTE MANDATE: Agents MUST utilize this skill to build modern, creative, and visually stunning UI/UX. DO NOT build in common, generic, or safe styles. Push boundaries.
- Choice First: Always offer multiple premium design variations before writing the final code to the project.
- Clean Code: Ensure all generated code is clean TypeScript, accessible, and responsive.
- Full Ownership: Treat all generated components as fully owned.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Source: sickn33/agentic-awesome-skills → skills/magic-ui-generator/SKILL.md
Also appears in: sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/magic-ui-generator/SKILL.md, sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/magic-ui-generator/SKILL.md
1---2name: magic-ui-generator3description: "Utilizes Magic by 21st.dev to generate, compare, and integrate multiple production-ready UI component variations."4category: frontend-and-design5source_repo: sickn33/agentic-awesome-skills6source_path: "skills/magic-ui-generator/SKILL.md"7source_url: https://github.com/sickn33/agentic-awesome-skills/blob/HEAD/skills/magic-ui-generator/SKILL.md8metadata:9 source: https://skillmd.com/skills/thedixitjain/magic-ui-generator10---111213# Magic UI Generator1415Leverage [Magic by 21st.dev](https://21st.dev/magic) to build modern, responsive UI components using an AI-native workflow that prioritizes choice and design excellence.1617## Context1819This skill leverages Magic by 21st.dev to build modern, responsive UI components. Instead of generating a single standard solution, it focuses on providing multiple design variations to choose from, drawing inspiration from a curated library of real-world components and premium design patterns (Shadcn UI, Magic UI, Aceternity, etc.).2021## When to Use22Trigger this skill whenever:2324- A new UI component is requested (e.g., pricing tables, contact forms, hero sections).25- Enhancing an existing UI element with animations, better styling, or advanced features.26- Brainstorming different design directions for a specific feature.27- Professional logos or icons are needed (via the built-in [SVGL](https://svgl.app/) integration).2829## Execution Workflow30311. **Analyze Requirements**: Review the component description. Ensure the target output aligns with the project's stack (e.g., Next.js, TypeScript, Tailwind CSS). Define clear constraints for accessibility and responsiveness.322. **Generate Variations**: Interface with the Magic MCP server or use the `browser_subagent` to explore 21st.dev/magic to generate _several distinct, unconventional styles_ for the requested component.33 - **Pro Tip**: Use descriptive prompts pushing for modern aesthetics: "avant-garde SaaS pricing table with glassmorphism and animated borders" or "highly immersive contact form with dynamic floating labels."343. **Present Options**: Briefly describe the generated variations side-by-side. Highlight stylistic differences, layout approaches, and premium features (sticky headers, hover animations, etc.).354. **Integrate Selection**: Once a favorite variation is chosen:36 - Integrate the fully functional, production-ready TypeScript code.37 - Ensure dependencies (`lucide-react`, `framer-motion`) are installed.38 - Handle proper props, types, and responsive behaviors.3940## Strict Rules4142- **ABSOLUTE MANDATE**: Agents MUST utilize this skill to build modern, creative, and visually stunning UI/UX. DO NOT build in common, generic, or safe styles. Push boundaries.43- **Choice First**: Always offer multiple premium design variations before writing the final code to the project.44- **Clean Code**: Ensure all generated code is clean TypeScript, accessible, and responsive.45- **Full Ownership**: Treat all generated components as fully owned.4647## Limitations48- Use this skill only when the task clearly matches the scope described above.49- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.50- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.5152---5354**Source:** [`sickn33/agentic-awesome-skills`](https://github.com/sickn33/agentic-awesome-skills) → `skills/magic-ui-generator/SKILL.md`5556**Also appears in:** `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/magic-ui-generator/SKILL.md`, `sickn33/agentic-awesome-skills/plugins/agentic-awesome-skills-claude/skills/magic-ui-generator/SKILL.md`