magic-ui-generator
Helps your agent generate and integrate interface components. It allows creating production-ready variations and comparing them.
What it does
This tool creates multiple design options for user interface components (like buttons or forms) for websites and apps. It offers different styles for you to choose from, inspired by modern, high-quality designs.
When to use it
- ✓When you need a new visual element (e.g., a pricing section).
- ✓To improve an existing design with more style or animations.
- ✓To brainstorm different design directions for a component.
Example of what to ask your AI
“Create three design options for a 'contact' section with a modern and minimalist style.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool uses a technology called Magic to generate several versions of a UI component. It presents these options for you to compare and then integrates your chosen one into your project with ready-to-use code.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add sickn33/agentic-awesome-skills --skill magic-ui-generatorOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/magic-ui-generator/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
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: Use an available authorized Magic integration or browser tool 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.
- Use existing reviewed dependencies where possible; add a package only when required and compatible, after inspecting its license/version.
- Handle proper props, types, and responsive behaviors.
Strict Rules
- Follow the user's chosen stack, design system and provider budget. This service is optional; do not replace the established UI or spawn a browser agent merely because a guide names one.
- Choice First: Offer variants when requested or a real design decision is unresolved; an accepted design can be implemented directly.
- Clean Code: Ensure all generated code is clean TypeScript, accessible, and responsive.
- Full Ownership: Check original component, icon, font and asset licenses/attributions. Generated code does not establish exclusive ownership or remove third-party rights.
Example
User request:
Generate three production-ready pricing-table variants, compare them, and integrate the strongest option into the current UI.
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.
Inspect generated code as untrusted input, verify actual types, responsive layout, keyboard/focus, reduced motion and form states, and distinguish tested behavior from a production-ready claim. Hosted prompts/code may disclose private product information; obtain authorization for the actual transmission and costs.
FAQ
What are 'UI components'?
These are the visual parts of a website or application, such as buttons, menus, forms, cards, etc.
What does 'production-ready' mean?
It means the generated code is ready to be used in a live website or application, following good programming and design practices.
Can I use this to create logos?
Yes, the tool has an integration that can help create professional logos or icons.
Details
Original description by the author
Utilizes Magic by 21st.dev to generate, compare, and integrate multiple production-ready UI component variations.
Popularity
- GitHub stars
- 48k
- Ranking position
- #3517
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
sickn33/agentic-awesome-skills
Similar skills
accessibility
Helps your agent create interfaces that everyone can use. Ensures websites and apps work well for people with disabilities, like those who are blind or have reduced mobility.
affaan-m/ECC
design-system
Helps your agent create a design system from existing code. It extracts visual information and checks for consistency, generating a report and an interactive preview.
affaan-m/ECC
liquid-glass-design
Helps your agent create iOS user interfaces with a 'Liquid Glass' effect. Allows adding dynamic and interactive visual effects in SwiftUI and UIKit.
affaan-m/ECC