OTFotf
All posts
General

How I Use Design Systems with AI Frontend Builders at SalesKick

5 min
How I Use Design Systems with AI Frontend Builders at SalesKick

Maintaining brand consistency while moving at AI speed. A practical approach to feeding your design system into AI frontend builders for consistent, rapid prototyping.

The Consistency Challenge

AI frontend builders (v0, Lovable, Bolt.new, Cursor) generate impressive UI fast. But without design system context, every generated page looks different: inconsistent colors, random spacing, mismatched component styles.

At SalesKick, Joey Gross needed AI-generated prototypes that looked like they belonged to the same product. Not pixel-perfect production code — but prototypes consistent enough that stakeholders could evaluate them without getting distracted by visual inconsistencies.

The insight: design systems need to be expressed in a format AI can consume. A Figma file with color swatches isn't enough. AI needs: CSS variables, component code examples, and explicit rules.

The SalesKick Approach

How SalesKick feeds design system context to AI builders.

1

Create an AI-readable design system file

Joey created a single markdown file containing: CSS custom properties (colors, spacing, typography), component patterns (button HTML/CSS, card HTML/CSS), and usage rules. This file is the AI's reference for every generation.

2

Include in every AI prompt

Every prompt starts with: 'Use the following design system: [paste file].' The overhead is minimal (copy-paste once), but the consistency improvement is dramatic.

3

Generate component-first

Instead of generating full pages, generate individual components first (header, card, form) using the design system. Then compose components into pages. This produces better results than page-level generation.

4

Review against design system checklist

After generation, check: correct colors? Consistent spacing? Right typography? Proper component patterns? A 2-minute checklist catches most inconsistencies before sharing with stakeholders.

Practical Workflow

One File, All Context

Maintain a single DESIGN-SYSTEM.md that contains everything AI needs: color tokens, spacing scale, component examples, do's and don'ts. Update it as your design system evolves. One file, always current.

Template Prompts

Create reusable prompt templates for common tasks: 'Generate a data table with [X] columns using our design system,' 'Generate a settings form with [X] fields using our design system.' Templates + design system = consistent output every time.

Accept 80% Accuracy

AI-generated prototypes will be ~80% consistent with your design system. That's enough for stakeholder reviews and user testing. Don't spend time achieving 100% — that's what production development is for.

More resources

On this page