Pick a design system vibe and export tokens for your AI coding agent. One click to a Markdown, JSON, CSS, or Tailwind file - paste it into Claude or Cursor and go.
# motif
**Pick a design system vibe. Export design tokens for your AI coding agent.**
motif is a zero-configuration web tool for vibe coders and AI developers. Pick a layout context and a brand-inspired style, adjust colors and typography until it feels right, then export a complete design token file you can hand directly to Cursor, Cursor, or any AI coding agent.
---
## What it does
1. **Pick a layout** -- Choose what you are building: SaaS app, landing page, blog, portfolio, e-commerce, docs, community, or mobile.
2. **Pick a style** -- 10 brand-inspired presets: Stripe, Linear, Notion, Vercel, Airbnb, Apple, Spotify, Shopify, GitHub, or a blank custom canvas.
3. **Customize** -- Adjust colors with a live preview. Fonts, spacing, and border radius use semantic sliders -- no raw CSS knowledge required.
4. **Export + paste** -- Download as Markdown, JSON, CSS custom properties, or Tailwind config. Paste it into your AI agent. Done.
---
## Quickstart
git clone https://github.com/Khalid-Moukhtar/motif.git
cd motif
pnpm install
pnpm dev
Open the URL printed in your terminal.
> Requires Node.js 20+ and pnpm.
---
## Tech stack
- **Frontend**: Vite 6 + React 18 + TypeScript
- **Styling**: Vanilla CSS with CSS custom properties
- **Testing**: Vitest v3 (47 tests)
- **Package manager**: pnpm
- **No backend** -- 100% client-side, no accounts
- **Analytics** -- anonymous usage events via PostHog EU (no cookies, no personal data) — [Privacy policy](PRIVACY.md)
---
## Export formats
| Format | File | Use case |
|--------|------|----------|
| Markdown | design_rules.md | Paste into Cursor, Cursor, or any AI agent |
| JSON | design_tokens.json | Design tools, code generators |
| CSS | variables.css | Drop into any stylesheet |
| Tailwind v3 | tailwind.config.js | Tailwind CSS v3 projects |
| Tailwind v4 | theme.css | Tailwind CSS v4 projects |
---
## Contributing
See CONTRIBUTING.md for the workflow. All PRs must pass the full CI gate (type checAgent that generates comprehensive documentation, API references, architecture diagrams, and developer onboarding guides from existing code.
Agent configuration for systematic bug investigation that traces issues from error logs through the codebase to root cause with suggested fixes.
Agent for integrating third-party APIs including SDK setup, type generation, error handling, retry logic, and rate limit management.
Cursor's built-in autonomous coding agent that can make multi-file edits, run terminal commands, search the codebase, and iteratively build features with minimal human intervention.
Cloud-based autonomous coding agent that runs in the background on remote sandboxed environments, handling complex multi-step tasks while you continue working.
Cursor's multi-file editing agent within Composer mode that can create, edit, and delete files across your entire project in a single conversation.