← Back to directory

DESIGN.md for Cursor

How to use DESIGN.md with Cursor when generating or editing UI.

Workflow

Add DESIGN.md to the repo root or docs folder, then reference it before UI work. Ask Cursor to follow tokens, layout rules, and anti-patterns from the file.

Best fit

This works especially well for shadcn, Tailwind, Next.js App Router, settings pages, dashboards, onboarding, and reusable product surfaces.

Guardrail

Keep DESIGN.md short enough to read but specific enough to prevent generic UI drift.

Have a public DESIGN.md?

Create an account and submit the source URL so it can be reviewed and indexed in the directory.

Submit DESIGN.md →