What is DESIGN.md for Lovable?
DESIGN.md is a product-specific design memory file for Lovable. It defines information density, color roles, component rules, page templates, navigation patterns, and anti-patterns so Lovable-generated applications feel coherent across every route — not like a collection of independently styled screens.
How do I use DESIGN.md with Lovable?
Introduce DESIGN.md in your first Lovable prompt: "Use this DESIGN.md as the visual source of truth. Follow the typography, color roles, component rules, page density, and navigation structure. Reuse the same system on every new screen." For follow-up prompts, reference it again: "Use the existing codebase and DESIGN.md."
What should a Lovable-ready DESIGN.md include?
The app category, target user, primary workflows, information density, page templates for marketing and app surfaces separately, navigation patterns, form behavior, empty and error states, and responsive rules. Include component examples for the most common elements: button variants, card layout, table density, modal tone, and sidebar structure.