What you get
- Centralized source of truth for UI components and styles
- Automatic propagation of updates to all connected projects
- Clear, enforceable design and code guidelines during generation
How design systems work
A design system in Lovable defines how components, styles, and setup instructions are applied across projects. Design systems are regular Lovable projects and can be opened and edited like any other project.What a design system consists of
A design system in Lovable combines three core parts:- Components: Your React component library (public or private npm packages)
- Guidelines: Style rules, usage patterns, and component specifications
- Installation: Setup instructions and required configuration
The design system project and the .lovable folder
The design system project owns a special .lovable folder. This folder contains the instructions Lovable uses when generating code in connected projects, including:
system.md: Core installation instructions and high-level guidelines that are always loaded for connected projectsrules/: Individual Markdown files with component specifications, guidelines, and patterns that Lovable can reference during project generation.
How design systems are applied to projects
When a project is connected to a design system, Lovable reads the contents of the design system’s.lovable folder and applies those rules during project generation.
Updates made to the design system project are picked up by all connected projects the next time Lovable generates code.
Key notes and limitations
- The
.lovablefolder is owned by the design system project and cannot be edited from connected projects. - Updates to a design system apply automatically to all projects connected to it on the next generation.
- Design systems are not versioned yet. Contact your account team if this is required for your workflow.
- If MCP servers or packages contain everything you need, you can create an installation-only design system.
- Design systems work natively with React component libraries.
- Any project can be turned into a design system from project settings. When a project is marked as a design system, it becomes available for other projects in the workspace to connect to.
- If your design system or related documentation is hosted within your VPC, reach out to your account team for guidance.
Create a design system
Prepare access (private packages only)
Create a design system project
+ dropdown of the lovable.dev prompt box, go to Design systems and select Create design system.
Configure the design system by chatting with Lovable
- If public, Lovable fetches it automatically
- If private, Lovable fetches it using the secrets you configured
- Existing documentation sites or repositories
- Imported PDFs, Markdown files, or screenshots
- MCP servers that expose design system documentation
- Direct instructions provided in the chat
- Import PDFs, Markdown files, screenshots, and other assets
- Define components, patterns, tokens, and styling guidelines
- Write installation and setup instructions
- Update everything dynamically across connected projects
Connect a design system to projects
In each project’s settings, you can see which design systems are connected or available to connect. You can connect multiple design systems to a project. The order of connected design systems determines how the Agent prioritizes them during project generation. You can reorder connected design systems in project settings. You can remove a connected design system at any time from project settings. Removed design systems no longer apply to future generations of that project.Connect a design system to new projects
From the+ dropdown of the lovable.dev prompt box, go to Design systems and select a design system from the list of available ones, then enter your prompt. Lovable generates your new project using the selected design system.

Connect a design system to existing projects
To connect a design system to an existing project, follow the steps below:- Go to Project settings → Design systems.
- Under Available, select a design system and click Add.
- Click Save.
Refine your design system
Design systems are meant to evolve. After the initial setup, iterate on the contents of the.lovable folder.
- Check the structure
Open the.lovablefolder to see how Lovable interpreted your design system. These files are what gets applied to all connected projects. - Fix inconsistencies
If components do not render correctly, ask Lovable to fix them and update the.lovablefolder at the same time. - Add detail
Request additional component documentation, token definitions, or usage patterns as needed.
.lovable folder structure
Lovable usually generates this automatically, but understanding the structure helps with debugging. If you notice unexpected behavior, verify this structure is generally followed.
Fetch external design system documentation with MCP servers
MCP servers can be used to fetch design system documentation that is stored separately from your npm packages. See Integrate with your tools using personal connectors (MCP servers) for more information.Choose between templates and design systems
Templates are full project copies used as starting points. Use templates when:- Complex setup is required (multiple packages, custom configs)
- You need framework variants (React, Vue, Vite)
- There is heavy boilerplate that should not regenerate
- You want ongoing guidance and consistency
- Patterns and components evolve over time
- Updates should propagate automatically
- Use a template for initial project scaffolding
- Use a design system for ongoing UI and design rules
Troubleshooting
React version mismatch
React version mismatch
Conflicting dependencies
Conflicting dependencies
shadcn/ui or Tailwind CSS, ask the agent to remove them to avoid conflicts. For example:Component not found
Component not found
.lovable/rules/ folder. The agent relies on these rule files to understand how to use your components.Styles not applying
Styles not applying
index.css or App.tsx.FAQ
Is a design system just a Lovable project?
Is a design system just a Lovable project?
Can I connect more than one design system to a project?
Can I connect more than one design system to a project?
Can any project be turned into a design system?
Can any project be turned into a design system?
How do I see which design systems are connected to my project?
How do I see which design systems are connected to my project?
- Connect additional design systems from your workspace
- Reorder their priority
- Select whether the current project should be used as a design system for other projects in your workspace
What happens if two design systems define overlapping rules?
What happens if two design systems define overlapping rules?
Can I remove a design system from a project?
Can I remove a design system from a project?
Can I edit the design system from a connected project?
Can I edit the design system from a connected project?
.lovable folder is owned by the design system project and cannot be edited from connected projects. To change the design system, open and edit the design system project itself.Are design systems versioned?
Are design systems versioned?
What technologies do design systems support?
What technologies do design systems support?
Do design systems replace templates?
Do design systems replace templates?