Labsco
21st-dev logo

21st.dev Magic

โ˜… 5,300

from 21st-dev

Create crafted UI components inspired by the best 21st.dev design engineers.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

21st.dev Magic AI Agent

Magic Component Platform (MCP) is a powerful AI-driven tool that helps developers create beautiful, modern UI components instantly through natural language descriptions. It integrates seamlessly with popular IDEs and provides a streamlined workflow for UI development.

๐ŸŒŸ Features

  • AI-Powered UI Generation: Create UI components by describing them in natural language

  • Multi-IDE Support:

  • Cursor IDE integration

  • Windsurf support

  • VSCode support

  • VSCode + Cline integration (Beta)

  • Modern Component Library: Access to a vast collection of pre-built, customizable components inspired by 21st.dev

  • Real-time Preview: Instantly see your components as you create them

  • TypeScript Support: Full TypeScript support for type-safe development

  • SVGL Integration: Access to a vast collection of professional brand assets and logos

  • Component Enhancement: Improve existing components with advanced features and animations (Coming Soon)

๐ŸŽฏ How It Works

Tell Agent What You Need

  • In your AI Agent's chat, just type /ui and describe the component you're looking for

  • Example: /ui create a modern navigation bar with responsive design

Let Magic Create It

  • Your IDE prompts you to use Magic

  • Magic instantly builds a polished UI component

  • Components are inspired by 21st.dev's library

Seamless Integration

  • Components are automatically added to your project

  • Start using your new UI components right away

  • All components are fully customizable

๐Ÿ› ๏ธ Development

Project Structure

Copy & paste โ€” that's it
mcp/
โ”œโ”€โ”€ app/
โ”‚ โ””โ”€โ”€ components/ # Core UI components
โ”œโ”€โ”€ types/ # TypeScript type definitions
โ”œโ”€โ”€ lib/ # Utility functions
โ””โ”€โ”€ public/ # Static assets

Key Components

  • IdeInstructions: Setup instructions for different IDEs

  • ApiKeySection: API key management interface

  • WelcomeOnboarding: Onboarding flow for new users

๐Ÿค Contributing

We welcome contributions! Please join our Discord community and provide feedback to help improve Magic Agent. The source code is available on GitHub.

๐Ÿ‘ฅ Community & Support

โš ๏ธ Beta Notice

Magic Agent is currently in beta. All features are free during this period. We appreciate your feedback and patience as we continue to improve the platform.

๐Ÿ“ License

MIT License

๐Ÿ™ Acknowledgments

  • Thanks to our beta testers and community members

  • Special thanks to the Cursor, Windsurf, and Cline teams for their collaboration

  • Integration with 21st.dev for component inspiration

  • SVGL for logo and brand asset integration

For more information, join our Discord community or visit 21st.dev/magic.