Style Catalog/Shopify Clean

Shopify Clean

清爽电商

D
58/100Poor
Rate this style

A clean, modern aesthetic built for independent storefronts. Product-first layouts with clear pricing hierarchy and smooth conversion paths.

Shopify styleclean ecommerce designonline store uiDTC websiteproduct grid layoutproduct page designminimal storefrontconversion focused designshopping cart uitrust badgesecommerce landing page
View Full Showcase →
Templates

Best For

Shopify style / clean ecommerce design / online store ui

Primary Move

Use pure white bg-white or light gray bg-[#f7f7f8] as base

Watch Out

Never use dark backgrounds as primary (affects product color accuracy)

AI Implementation

Copy the Hard Prompt first, then use the spec when needed

Use the Hard Prompt by default to generate UI. Use the Design Spec to understand, modify, and review the style. Use the Creative Brief for early exploration.

Hard Prompt

Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.

When to use

  • When AI should generate UI directly
  • When repeated outputs must stay consistent
  • When style drift is the main risk

How to use

  • Copy the full prompt
  • Append the concrete requirement
  • Review against forbidden rules and UI states
STYLEKIT_STYLE_REFERENCE
style_name: Shopify Clean
style_slug: shopify-clean
style_source: /styles/shopify-clean

# Hard Prompt

## When To Use
Use this when you want AI to generate code with strict style consistency. It is the safest default for production UI.

## How To Use
- Copy the full prompt into ChatGPT, Claude, Cursor, or another coding assistant.
- Append the concrete product/page requirement after the prompt.
- After generation, check the forbidden rules and interaction states before accepting the output.

Strictly follow the style rules below and maintain consistency. No style drift allowed.

## Requirements

- Prioritize style consistency first, then creative extension.
- When conflicts arise, treat prohibitions as the highest priority.
- Self-check before output: verify colors, typography, spacing, and interactions still match this style.

## Style Rules

You are a Shopify Clean e-commerce design expert.

## Absolute Rules
- Product images must NEVER have filters or color overlays
- CTA buttons must use #008060 (brand green) or #1a1a1a (dark)
- Product grids must use consistent aspect ratios (square or 3:4)
- Price must always be the most visually prominent text in a product card
- Mobile CTA buttons must be full-width

## Forbidden
- Dark mode as primary (kills product color fidelity)
- Decorative elements larger than product images
- Low-contrast pricing
- Rounded corners beyond rounded-xl on cards

## Responsive
- Mobile: single-column product grid, sticky bottom CTA
- Tablet: 2-column grid
- Desktop: 3-4 column grid with sidebar filters

## Layout & Spacing
- Section padding: py-16 md:py-24
- Card padding: p-6 md:p-8
- Gap between cards: gap-6 md:gap-8
- Max content width: max-w-6xl mx-auto

## Responsive Design
- Mobile-first approach with Tailwind breakpoints
- Stack elements vertically on mobile (flex-col), row on desktop (md:flex-row)
- Reduce font sizes on mobile: text-3xl md:text-5xl for headings
- Touch-friendly targets: min 44px for interactive elements

## Self-Check Verification
After generating code, verify:
1. All interactive elements have hover/focus/active states
2. Color contrast meets WCAG 2.1 AA (4.5:1 for text)
3. Layout is responsive across breakpoints
4. Typography hierarchy is clear (h1 > h2 > h3 > body)
5. Spacing is consistent using the defined scale
6. All animations respect prefers-reduced-motion

---

# Shopify Clean Design System

> A clean, modern aesthetic built for independent storefronts. Product-first layouts with clear pricing hierarchy and smooth conversion paths.

## Design Philosophy

Shopify Clean is a conversion-oriented e-commerce design language.

Core principles:
- Product-first: Every design decision serves product display and purchase conversion
- Trust building: Consistent spacing, clear hierarchy, and professional typography establish credibility
- Friction minimization: Clear CTAs, short flows, and explicit information hierarchy
- Whitespace as breathing room: Give product images space, avoid clutter

---

## Token Dictionary (exact class mapping)

### Border
```
Width: border
Color: border-[#e3e3e3]
Radius: rounded-lg
```

### Shadow
```
sm: shadow-sm
md: shadow-md
lg: shadow-lg
hover: shadow-md
focus: ring-2 ring-[#008060]/20
```

### Interaction
```
Hover translate: (none)
Hover scale: hover:shadow-md
Hover opacity: (none)
Transition: transition-all duration-200
Active: active:scale-95
```

### Typefaces
```
Heading: font-semibold tracking-tight
Body: font-normal
Mono: font-mono
```

### Type scale
```
Hero: text-4xl md:text-5xl lg:text-6xl
H1: text-3xl md:text-4xl
H2: text-2xl md:text-3xl
H3: text-xl md:text-2xl
Body: text-sm md:text-base
Small: text-xs
```

### Spacing
```
Section: py-12 md:py-16 lg:py-20
Container: px-4 md:px-6 lg:px-8
Card: p-4
Gap sm: gap-4
Gap md: gap-6
Gap lg: gap-8
```

### Color roles
```
Background primary: bg-white
Background secondary: bg-[#f7f7f8]
Background accent: bg-[#008060], bg-[#1a1a1a]
Text primary: text-[#1a1a1a]
Text secondary: text-[#6b7280]
Text muted: text-[#9ca3af]
Button primary: bg-[#008060] text-white hover:bg-[#006e52]
Button secondary: bg-white text-[#1a1a1a] border border-[#e3e3e3]
```

---

## [FORBIDDEN]

These classes are banned in this style. Check for them before returning code:

### Banned classes
- `rounded-2xl`
- `shadow-2xl`
- `bg-gradient-to-r`
- `border-4`

### Banned patterns
- matches `^shadow-2xl`
- matches `^bg-gradient-`
- matches `^border-[48]`
- matches `^rounded-(2xl|3xl|full)`

### Why they are banned
- `rounded-2xl`: Shopify Clean uses rounded-lg maximum on cards
- `shadow-2xl`: Shadows should be subtle (shadow-sm to shadow-md)
- `bg-gradient-to-r`: Use solid colors for clean product display

> WARNING: if your code contains any of the above, replace it before shipping.

---

## [REQUIRED]

### Every button must include
```
px-6 py-3
rounded-lg
font-medium
transition-colors duration-200
```

### Every card must include
```
bg-white
rounded-lg
border border-[#e3e3e3]
```

### Every input must include
```
px-4 py-3
border border-[#e3e3e3]
rounded-lg
focus:ring-2 focus:ring-[#008060]/20
focus:border-[#008060]
```

---

## [COMPARE] Shopify Clean wrong vs right

The wrong examples below stand for generic library defaults that were never adapted to this style. Do not read them as visual suggestions.

### Button

[WRONG] **Wrong** (generic component library default, do not copy):
```html
<button class="{GENERIC_LIBRARY_BUTTON_DEFAULT}">
  Click me
</button>
```

[CORRECT] **Right** (uses this style's tokens):
```html
<button class="px-6 py-3 rounded-lg font-medium transition-colors duration-200 bg-[#008060] text-white hover:bg-[#006e52]">
  Click me
</button>
```

### Card

[WRONG] **Wrong** (generic card, not adapted to this style):
```html
<div class="{GENERIC_LIBRARY_CARD_DEFAULT}">
  <h3>{TITLE}</h3>
</div>
```

[CORRECT] **Right** (uses this style's card tokens):
```html
<div class="bg-white rounded-lg border border-[#e3e3e3] p-4">
  <h3 class="font-semibold tracking-tight text-xl md:text-2xl">{TITLE}</h3>
</div>
```

### Input

[WRONG] **Wrong** (generic input, not adapted to this style):
```html
<input class="{GENERIC_LIBRARY_INPUT_DEFAULT}" />
```

[CORRECT] **Right** (uses this style's input tokens):
```html
<input class="px-4 py-3 border border-[#e3e3e3] rounded-lg focus:ring-2 focus:ring-[#008060]/20 focus:border-[#008060]" placeholder="{PLACEHOLDER}" />
```

---

## [TEMPLATES] Shopify Clean page skeletons

These skeletons use this style's tokens only. Replace `{PLACEHOLDER}` values, but keep every token in place:

### Navigation
```html
<nav class="bg-white text-[#1a1a1a] border border-[#e3e3e3] px-4 md:px-6 lg:px-8">
  <div class="flex items-center justify-between max-w-6xl mx-auto gap-6">
    <a href="/" class="font-semibold tracking-tight text-xl md:text-2xl">
      {LOGO_TEXT}
    </a>
    <div class="flex gap-6 font-normal text-xs">
      {NAV_LINKS}
    </div>
  </div>
</nav>
```

### Hero section
```html
<section class="bg-[#008060] text-[#1a1a1a] py-12 md:py-16 lg:py-20 px-4 md:px-6 lg:px-8">
  <div class="max-w-4xl mx-auto">
    <h1 class="font-semibold tracking-tight text-4xl md:text-5xl lg:text-6xl">
      {HEADLINE}
    </h1>
    <p class="font-normal text-sm md:text-base max-w-xl">
      {SUBHEADLINE}
    </p>
    <button class="px-6 py-3 rounded-lg font-medium transition-colors duration-200 bg-[#008060] text-white hover:bg-[#006e52]">
      {CTA_TEXT}
    </button>
  </div>
</section>
```

### Card grid
```html
<section class="bg-white text-[#1a1a1a] py-12 md:py-16 lg:py-20 px-4 md:px-6 lg:px-8">
  <div class="max-w-6xl mx-auto">
    <h2 class="font-semibold tracking-tight text-2xl md:text-3xl">{SECTION_TITLE}</h2>
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
      <!-- Card template - repeat for each card -->
      <div class="bg-white rounded-lg border border-[#e3e3e3] p-4">
        <h3 class="font-semibold tracking-tight text-xl md:text-2xl">{CARD_TITLE}</h3>
        <p class="font-normal text-sm md:text-base text-[#9ca3af]">{CARD_DESCRIPTION}</p>
      </div>
    </div>
  </div>
</section>
```

### Form input
```html
<input class="px-4 py-3 border border-[#e3e3e3] rounded-lg focus:ring-2 focus:ring-[#008060]/20 focus:border-[#008060]" placeholder="{PLACEHOLDER}" />
```

### Footer
```html
<footer class="bg-[#f7f7f8] text-[#6b7280] py-12 md:py-16 lg:py-20 px-4 md:px-6 lg:px-8">
  <div class="max-w-6xl mx-auto">
    <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
      <div>
        <span class="font-semibold tracking-tight text-xl md:text-2xl">{LOGO_TEXT}</span>
        <p class="font-normal text-xs">{TAGLINE}</p>
      </div>
      <div>
        <h4 class="font-semibold tracking-tight text-xl md:text-2xl">{COLUMN_TITLE}</h4>
        <ul class="font-normal text-xs">
          {FOOTER_LINKS}
        </ul>
      </div>
    </div>
  </div>
</footer>
```

---

## [CHECKLIST] Shopify Clean post-generation self check

**Before returning code, verify every token and rule below. Fix any violation before delivering:**

### Token check
- [ ] Button includes: `px-6 py-3 rounded-lg font-medium transition-colors duration-200`
- [ ] Card includes: `bg-white rounded-lg border border-[#e3e3e3]`
- [ ] Input includes: `px-4 py-3 border border-[#e3e3e3] rounded-lg focus:ring-2 focus:ring-[#008060]/20 focus:border-[#008060]`

### Forbidden check
- [ ] Not using `rounded-2xl`
- [ ] Not using `shadow-2xl`
- [ ] Not using `bg-gradient-to-r`
- [ ] Not using `border-4`

### Style rule check
- [ ] Use pure white bg-white or light gray bg-[#f7f7f8] as base
- [ ] Primary button uses brand green bg-[#008060] text-white rounded-lg
- [ ] Product cards use border border-[#e3e3e3] hover:shadow-md transition
- [ ] Price uses text-lg font-semibold text-[#1a1a1a] for emphasis
- [ ] Strikethrough price uses line-through text-muted text-sm

### Style drift check
- [ ] Does not violate: Never use dark backgrounds as primary (affects product color accuracy)
- [ ] Does not violate: Never exceed rounded-xl on product cards
- [ ] Does not violate: Never use large decorative elements on product listing pages
- [ ] Does not violate: Never use low-contrast colors for pricing
- [ ] Does not violate: Never use desaturated colors on CTA buttons

### Delivery check
- [ ] Responsive layout holds on phone, tablet and desktop with no horizontal overflow
- [ ] Every interactive element has a visible focus state, an accessible name and a reduced-motion path
- [ ] Text contrast meets WCAG AA and colour alone never carries state
- [ ] The result is still recognizable at a glance as Shopify Clean

## Absolute Bans (Match and Refuse)

If any of the following patterns appear, it is a style violation — rewrite without exception.

- use dark backgrounds as primary (affects product color accuracy)
- exceed rounded-xl on product cards
- use large decorative elements on product listing pages
- use low-contrast colors for pricing
- use desaturated colors on CTA buttons
- apply filters or color overlays on product images

## Self-Check (Verify Before Shipping)

If any item fails, the style has drifted — fix before shipping.

- [ ] No purple-to-blue gradients
- [ ] No overused fonts (Inter, Roboto, Geist, Fraunces, Plus Jakarta Sans)
- [ ] No nested cards (cards inside cards)
- [ ] No gray text on colored backgrounds
- [ ] Body text contrast meets WCAG AA (>= 4.5:1)
- [ ] No bounce or elastic easing curves
- [ ] Animations have a prefers-reduced-motion fallback
- [ ] Body text line length capped at 65-75 characters
- [ ] No side-stripe accent borders (border-left/right > 1px)
- [ ] No gradient text (background-clip: text)
- [ ] No glassmorphism used as the default surface treatment
- [ ] No tiny uppercase tracked eyebrow labels above every section heading
- [ ] never use dark backgrounds as primary (affects product color accuracy)
- [ ] never exceed rounded-xl on product cards
- [ ] never use large decorative elements on product listing pages
- [ ] never use low-contrast colors for pricing
- [ ] never use desaturated colors on CTA buttons

More prompt libraries: All UI Prompts · Tailwind UI Prompts · Dark Mode UI Prompts

Community

Ratings & Feedback

No ratings yet - be the firstSign in to rate

Loading comments…

Component Templates

Component Preview

购买按钮

电商主操作按钮,突出品牌色与可点击性

Frontend Readiness

Dark Mode, States, Motion, and Accessibility

This layer tracks whether the style is ready for real websites: theme modes, state feedback, keyboard access, and performance constraints.

Overall

51%

Fallback

Dark Mode

0%

Missing

UI States

79%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

35%

Fallback

Key State Coverage

light
HoverFocus VisibleDisabledLoadingEmptyErrorSuccess

Button

Default / Hover / Focus Visible / Active / Disabled

Input

Default / Hover / Focus Visible / Disabled / Error

Card

Default / Hover / Focus Visible / Loading / Skeleton

Form

Default / Focus Visible / Disabled / Loading / Error

Implementation Notes

  • No curated dark-mode contract exists yet.
  • Check contrast in both light and dark modes.
  • Check heavy shadows, blur, large media, and scroll-linked effects manually.
  • No style-specific performance cost profile has been curated yet.

FAQ

Shopify Clean — Frequently Asked Questions

What is the Shopify Clean design style?
A clean, modern aesthetic built for independent storefronts. Product-first layouts with clear pricing hierarchy and smooth conversion paths. Its core principle: Shopify Clean is a conversion-oriented e-commerce design language.
What colors does Shopify Clean use?
Shopify Clean uses #ffffff as its primary color and #f7f7f8 as its secondary color, with accent colors #008060, #1a1a1a, #e3e3e3, #ffd700. Every hex value can be copied from the palette on this page.
How do I apply Shopify Clean correctly?
Key practices: Use pure white bg-white or light gray bg-[#f7f7f8] as base. Primary button uses brand green bg-[#008060] text-white rounded-lg. Product cards use border border-[#e3e3e3] hover:shadow-md transition.
What are common mistakes with Shopify Clean?
Avoid: Never use dark backgrounds as primary (affects product color accuracy). Never exceed rounded-xl on product cards. Never use large decorative elements on product listing pages.
How do I prompt AI to generate Shopify Clean UI?
Copy the ready-made AI prompt on this page — it bundles the design tokens and component rules — and paste it into ChatGPT, Claude, Claude Code, or Codex. Effective prompts include the keywords: Shopify style, clean ecommerce design, online store ui, DTC website.
Global Styles

Global CSS

css
.shopify-clean-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
}
.shopify-clean-badge--sale {
  background: #fef3c7;
  color: #92400e;
}
.shopify-clean-badge--new {
  background: #d1fae5;
  color: #065f46;
}
@keyframes shopify-clean-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shopify-clean-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.shopify-clean-card {
  position: relative;
  overflow: hidden;
}

.shopify-clean-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  pointer-events: none;
}

.shopify-clean-card:hover::before {
  opacity: 1;
}

.shopify-clean-gradient {
  background: linear-gradient(135deg, #ffffff, #008060);
}

.shopify-clean-gradient-text {
  background: linear-gradient(135deg, #ffffff, #008060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shopify-clean-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(255, 255, 255, 0.08);
}

.shopify-clean-accent-corner {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}

.shopify-clean-animate-in {
  animation: shopify-clean-fade-in 0.5s ease-out both;
}

IDE Integration

IDE Configuration Export

Download configuration files for AI coding assistants to generate code in this style.

Style Pack

Export Style Pack

Get complete machine-readable style assets including design tokens, Tailwind presets, CSS variables, and shadcn/ui themes.

Metadata

Style metadata including version information

Design Tokens

Compatible with Figma / Style Dictionary / Tokens Studio

Tailwind Preset

Tailwind CSS theme preset, import directly in config

Global CSS

CSS variables and base styles

shadcn Theme

shadcn/ui theme configuration

CSS Variables

Pure CSS variables, works with any project

SKILL.md

Loadable skill pack for Cursor / Claude Code / VS Code

Design Philosophy

Shopify Clean is a conversion-oriented e-commerce design language.

Accessibility

Accessibility Score

WCAG 2.1 compliance analysis based on color contrast and typography readability.

58

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 48/100Average Ratio: 5.96:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#1a1a1a / #ffffff
17.4:1
Secondary text on background
/#6b7280 / #ffffff
4.83:1
Muted text on background
/#9ca3af / #ffffff
2.54:1
Text on secondary background
/#1a1a1a / #f7f7f8
16.26:1
Secondary text on secondary
/#6b7280 / #f7f7f8
4.52:1
Button primary
/#ffffff / #008060
4.93:1
Text on accent 1
/#1a1a1a / #008060
3.53:1
Alt text on accent 1
/#6b7280 / #008060
1.02:1
Text on accent 2
/#1a1a1a / #1a1a1a
1:1
Alt text on accent 2
/#6b7280 / #1a1a1a
3.6:1

Readability

Score

82/100

Font Size

text-sm md:text-base

Font Weight

font-semibold tracking-tight

Line Height

default

Scoring is based on WCAG 2.1 standards. AA requires 4.5:1 contrast for normal text, 3:1 for large text; AAA requires 7:1 for normal text, 4.5:1 for large text.