Ecommerce

A minimal, editorial ecommerce DESIGN.md: bright neutral canvas, near-black ink, generous whitespace, and a strict product grid where imagery is the hero.

Tokens
13
Components
8
Themes
Light + Dark
Responsive
3 breakpoints

Preview Lab

Live

Inspect theme and responsive behavior

Design system overview

A quiet storefront that puts the product first

A minimal, editorial ecommerce system: bright neutral canvas, near-black ink, generous whitespace, and a strict product grid where imagery is the hero.

The template defines the working system behind the preview: product grid rhythm, buy-box anatomy, availability states, cart feedback, responsive collapse, keyboard focus, and implementation rules for AI coding agents.

Primary

One clear action

Active navigation and primary controls

Typography

$482,900

Total revenue

+8.2% this month

Controls

Search customers…

Status

HealthyHealthy
PendingPending
FailedFailed

Tokens

Color system

Named roles from the template contract. Every swatch is keyboard-copyable and includes its intended use, so the palette stays meaningful outside this preview.

Brand

Surfaces

Text

Semantic

Source file

Raw DESIGN.md and export formats

This is the single canonical source view. Anonymous visitors see a short preview; signed-in users get the complete Markdown and generated implementation formats.

# Ecommerce DESIGN.md

## Product feel

Build a minimal, editorial storefront where product imagery is the hero and the UI recedes.
Use a bright neutral canvas, near-black ink for text and primary actions, generous whitespace,
and a strict typographic grid. Restraint reads as premium; decoration reads as noise.

## Color system

### Brand
- Ink: #111111 — text, primary buttons, active state
- Surface: #ffffff — page and card background

### Surfaces
- Canvas: #fafafa — page background behind cards
- Subtle: #f5f5f5 — hover rows, section bands
- Panel: #f0f0f0 — quiet fills, image placeholders
- Border: #e5e5e5 — hairline separators and card outlines

### Text
- Text Primary: #111111 — headings, prices, body
- Text Secondary: #666666 — labels, descriptions, meta
- Text Muted: #999999 — captions, disabled, placeholders

### Semantic
- Success / In stock: #16a34a
- Sale / Danger: #dc2626
- Warning / Low stock: #d97706
- Sale / Low-stock badge text: #ffffff
- Info: #2563eb

## Dark mode

- Canvas: #0d0d0d, Surface: #171717, Raised: #262626, Border: #333333
- Text Primary: #f5f5f5, Text Secondary: #a3a3a3, Text Muted: #737373
- Success: #22c55e, Sale: #ef4444, Warning: #f59e0b, Info: #60a5fa
- Sale / Low-stock badge text: #ffffff
- Keep product images unmodified; never tint imagery for theme.

## Typography

Checking your session…

How to use this template

  1. 01

    Copy

    Copy the complete DESIGN.md content from this page.

  2. 02

    Paste

    Create a DESIGN.md file in your project root and paste it in.

  3. 03

    Reference

    In your AI agent chat: "Build the next screen following DESIGN.md."

  4. 04

    Generate

    The agent applies the tokens, spacing, and component rules automatically.

Use with AI Coding Agents

Copy one of these prompts into your AI coding agent to apply the Ecommerce DESIGN.md design system to your project. The DESIGN.md file in your repo root is the source of truth.

# .cursor/rules (or DESIGN.md)
You are working in a project that uses the Ecommerce DESIGN.md design system.

Read the DESIGN.md file in this project root and follow it strictly when generating UI.
Match the brand's exact colors, typography, spacing scale, and border radius.
Do not create generic Tailwind UI — apply the visual language from DESIGN.md.

Key rules:
- Use the defined color palette, not arbitrary hex values
- Apply the correct font family and weight scale
- Follow spacing tokens (4/8/12/16/24/32px scale)
- Match component patterns: buttons, cards, inputs, badges as specified

More templates

Explore other ready-to-use DESIGN.md templates for your next project.

Goes well with

Frequently asked questions

How do I use the Ecommerce DESIGN.md template with Cursor?

Copy the full DESIGN.md from this page into your project root, or add it to .cursor/rules when you want Cursor-specific project rules. Then prompt: "Read DESIGN.md and follow its design system for every UI change."

Is the Ecommerce template free for commercial projects?

Yes. All DesignMD templates are MIT licensed — copy, modify, and ship them in commercial products without attribution.

What does the Ecommerce DESIGN.md include?

Ecommerce documents light + dark tokens, responsive layout rules, and Product Card, Buy Box, Add to Cart, Secondary Button patterns for AI coding agents. It is prepared for Cursor, Claude Code, Codex.