Style Catalog/Apple Style

Apple Style

Apple 风格

D
56/100Poor
Rate this style

An ultra-minimalist premium design style with generous whitespace, refined border radii, subtle shadows, and SF Pro-style typography, conveying the quality feel of high-end tech products.

Apple styleApple designminimalist websitepremium minimalSF Pro fontgenerous whitespaceclean uiproduct landing pagesubtle shadowsrounded cornersCupertino design
View Full Showcase →
Templates

Best For

Apple style / Apple design / minimalist website

Primary Move

Use generous whitespace to let content breathe

Watch Out

Do NOT use too many colors

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: Apple Style
style_slug: apple-style
style_source: /styles/apple-style

# 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 an Apple Style design frontend development expert. All generated code must strictly follow these constraints:

## Absolute Prohibitions

- Using gradient backgrounds
- Using too many colors (more than 3)
- Using heavy shadows shadow-xl, shadow-2xl
- Overcrowding elements
- Using flashy decorations and animations

## Must Follow

- Generous whitespace
- Apple gray background bg-[#f5f5f7]
- Apple blue accent text-[#0071e3], bg-[#0071e3]
- Refined radii rounded-xl, rounded-2xl, rounded-full
- Subtle shadows shadow-[0_4px_12px_rgba(0,0,0,0.08)]
- SF Pro-style fonts

## Color Palette

Primary:
- Black: text-black, bg-black
- White: text-white, bg-white
- Apple gray: bg-[#f5f5f7]

Accent colors:
- Apple blue: #0071e3
- Apple green: #34c759
- Apple red: #ff3b30

## Typography

- Headings: font-semibold tracking-tight
- Body: font-normal
- Links: text-[#0071e3] hover:underline

## Layout

- Max width: max-w-5xl or max-w-[980px]
- Generous whitespace: py-20, py-24
- Center alignment: text-center, mx-auto

## Animation & Interaction Rules

- Spring Physics: Never use default linear or basic ease. Must use silky deceleration curves like `transition-all duration-500 ease-[cubic-bezier(0.25,0.1,0.25,1)]`.
- Haptic Touch: All interactive elements (buttons, cards) must have physical press damping, mandatory `active:scale-[0.98]` or `active:scale-[0.96]`.
- Contextual Depth: On card hover, use `group-hover` to create subtle zoom on inner images or icons (`scale-105`), creating parallax depth.
- Subtle Blurs: Interactions can include smooth transitions of background blur or opacity.

## Self-Check

After generating code, verify:
1. Whitespace is generous enough
2. Colors are restrained (black/white/gray + blue accent)
3. No gradients
4. Overall feel is premium and minimalist

---

# Apple Style Design System

> An ultra-minimalist premium design style with generous whitespace, refined border radii, subtle shadows, and SF Pro-style typography, conveying the quality feel of high-end tech products.

## Design Philosophy

Apple Style is an ultra-minimalist style derived from Apple's design language, conveying the quality and trust of premium tech products through generous whitespace, refined details, and restrained color usage.

Core principles:
- Ultimate simplicity: Remove all unnecessary elements
- Generous whitespace: Let content breathe, highlight key points
- Refined details: Every pixel is carefully designed
- Restrained colors: Black, white, and gray as primary, blue as accent

---

## Token Dictionary (exact class mapping)

### Border
```
Width: border-0
Color: border-gray-200
Radius: rounded-2xl
```

### Shadow
```
sm: shadow-[0_2px_8px_rgba(0,0,0,0.04)]
md: shadow-[0_4px_12px_rgba(0,0,0,0.08)]
lg: shadow-[0_8px_24px_rgba(0,0,0,0.12)]
hover: hover:shadow-[0_8px_24px_rgba(0,0,0,0.12)]
focus: focus:shadow-[0_0_0_4px_rgba(0,113,227,0.3)]
```

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

### Typefaces
```
Heading: font-semibold tracking-tight text-black
Body: text-gray-600
Mono: font-mono text-sm
```

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

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

### Color roles
```
Background primary: bg-white
Background secondary: bg-[#f5f5f7]
Background accent: bg-black, bg-[#0071e3]
Text primary: text-black
Text secondary: text-gray-500
Text muted: text-gray-400
Button primary: bg-[#0071e3] text-white
Button secondary: bg-black text-white
```

---

## [FORBIDDEN]

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

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

### Banned patterns
- matches `^bg-gradient`
- matches `^shadow-(?:2xl|inner)`
- matches `^border-(?:2|4|8)`

### Why they are banned
- `bg-gradient-to-r`: Apple style uses solid colors, not gradients
- `shadow-2xl`: Apple style uses subtle, refined shadows
- `border-2`: Apple style uses minimal or no borders

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

---

## [REQUIRED]

### Every button must include
```
px-6 py-3
bg-[#0071e3]
rounded-full
text-white font-medium
hover:bg-[#0077ed]
transition-colors duration-200
```

### Every card must include
```
bg-white
rounded-2xl
shadow-[0_4px_12px_rgba(0,0,0,0.08)]
```

### Every input must include
```
bg-[#f5f5f7]
rounded-xl
text-black placeholder-gray-400
focus:outline-none focus:ring-2 focus:ring-[#0071e3]
transition-all
```

---

## [COMPARE] Apple Style 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 bg-[#0071e3] rounded-full text-white font-medium hover:bg-[#0077ed] transition-colors duration-200 bg-[#0071e3] text-white">
  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-2xl shadow-[0_4px_12px_rgba(0,0,0,0.08)] p-8 md:p-12">
  <h3 class="font-semibold tracking-tight text-black 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="bg-[#f5f5f7] rounded-xl text-black placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-[#0071e3] transition-all" placeholder="{PLACEHOLDER}" />
```

---

## [TEMPLATES] Apple Style 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-black border-0 border-gray-200 px-6 md:px-8">
  <div class="flex items-center justify-between max-w-6xl mx-auto gap-8">
    <a href="/" class="font-semibold tracking-tight text-black text-xl md:text-2xl">
      {LOGO_TEXT}
    </a>
    <div class="flex gap-8 text-gray-600 text-sm">
      {NAV_LINKS}
    </div>
  </div>
</nav>
```

### Hero section
```html
<section class="bg-black text-black py-20 md:py-32 px-6 md:px-8">
  <div class="max-w-4xl mx-auto">
    <h1 class="font-semibold tracking-tight text-black text-5xl md:text-7xl lg:text-8xl">
      {HEADLINE}
    </h1>
    <p class="text-gray-600 text-base md:text-lg max-w-xl">
      {SUBHEADLINE}
    </p>
    <button class="px-6 py-3 bg-[#0071e3] rounded-full text-white font-medium hover:bg-[#0077ed] transition-colors duration-200 bg-[#0071e3] text-white">
      {CTA_TEXT}
    </button>
  </div>
</section>
```

### Card grid
```html
<section class="bg-white text-black py-20 md:py-32 px-6 md:px-8">
  <div class="max-w-6xl mx-auto">
    <h2 class="font-semibold tracking-tight text-black text-3xl md:text-4xl">{SECTION_TITLE}</h2>
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
      <!-- Card template - repeat for each card -->
      <div class="bg-white rounded-2xl shadow-[0_4px_12px_rgba(0,0,0,0.08)] p-8 md:p-12">
        <h3 class="font-semibold tracking-tight text-black text-xl md:text-2xl">{CARD_TITLE}</h3>
        <p class="text-gray-600 text-base md:text-lg text-gray-400">{CARD_DESCRIPTION}</p>
      </div>
    </div>
  </div>
</section>
```

### Form input
```html
<input class="bg-[#f5f5f7] rounded-xl text-black placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-[#0071e3] transition-all" placeholder="{PLACEHOLDER}" />
```

### Footer
```html
<footer class="bg-[#f5f5f7] text-gray-500 py-20 md:py-32 px-6 md:px-8">
  <div class="max-w-6xl mx-auto">
    <div class="grid grid-cols-1 md:grid-cols-3 gap-12">
      <div>
        <span class="font-semibold tracking-tight text-black text-xl md:text-2xl">{LOGO_TEXT}</span>
        <p class="text-gray-600 text-sm">{TAGLINE}</p>
      </div>
      <div>
        <h4 class="font-semibold tracking-tight text-black text-xl md:text-2xl">{COLUMN_TITLE}</h4>
        <ul class="text-gray-600 text-sm">
          {FOOTER_LINKS}
        </ul>
      </div>
    </div>
  </div>
</footer>
```

---

## [CHECKLIST] Apple Style 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 bg-[#0071e3] rounded-full text-white font-medium hover:bg-[#0077ed] transition-colors duration-200`
- [ ] Card includes: `bg-white rounded-2xl shadow-[0_4px_12px_rgba(0,0,0,0.08)]`
- [ ] Input includes: `bg-[#f5f5f7] rounded-xl text-black placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-[#0071e3] transition-all`

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

### Style rule check
- [ ] Use generous whitespace to let content breathe
- [ ] Use Apple gray #f5f5f7 as background
- [ ] Use Apple blue #0071e3 as accent color
- [ ] Use refined border radii rounded-xl or rounded-2xl
- [ ] Use subtle shadows

### Style drift check
- [ ] Does not violate: Do NOT use too many colors
- [ ] Does not violate: Do NOT use gradient backgrounds
- [ ] Does not violate: Do NOT use heavy shadows
- [ ] Does not violate: Do NOT overcrowd elements
- [ ] Does not violate: Do NOT use flashy decorations

### 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 Apple Style

## Absolute Bans (Match and Refuse)

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

- use too many colors
- use gradient backgrounds
- use heavy shadows
- overcrowd elements
- use flashy decorations

## 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
- [ ] do NOT use too many colors
- [ ] do NOT use gradient backgrounds
- [ ] do NOT use heavy shadows
- [ ] do NOT overcrowd elements
- [ ] do NOT use flashy decorations

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

按钮

Apple 风格按钮,简洁精致

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

73%

Curated

Dark Mode

70%

Partial

UI States

85%

Partial

Motion

70%

Partial

A11y

70%

Partial

Performance

70%

Partial

Key State Coverage

light / dark
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

  • Use neutral near-black backgrounds, layered grays, and restrained accent color.
  • Check contrast in both light and dark modes.
  • Keep generated pages image-aware: explicit dimensions, lazy loading below the fold, and no layout shift.

FAQ

Apple Style — Frequently Asked Questions

What is the Apple Style design style?
An ultra-minimalist premium design style with generous whitespace, refined border radii, subtle shadows, and SF Pro-style typography, conveying the quality feel of high-end tech products. Its core principle: Apple Style is an ultra-minimalist style derived from Apple's design language, conveying the quality and trust of premium tech products through generous whitespace, refined details, and restrained color usage.
What colors does Apple Style use?
Apple Style uses #000000 as its primary color and #f5f5f7 as its secondary color, with accent colors #0071e3, #34c759, #ff3b30, #a13ff6. Every hex value can be copied from the palette on this page.
How do I apply Apple Style correctly?
Key practices: Use generous whitespace to let content breathe. Use Apple gray #f5f5f7 as background. Use Apple blue #0071e3 as accent color.
What are common mistakes with Apple Style?
Avoid: Do NOT use too many colors. Do NOT use gradient backgrounds. Do NOT use heavy shadows.
How do I prompt AI to generate Apple Style 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: Apple style, Apple design, minimalist website, premium minimal.
Global Styles

Global CSS

css
/* Apple Style 全局样式 */

:root {
  --apple-black: #000000;
  --apple-white: #ffffff;
  --apple-gray: #f5f5f7;
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-green: #34c759;
  --apple-red: #ff3b30;
}

/* Apple 风格字体 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Apple 风格标题 */
.apple-headline {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Apple 风格链接 */
.apple-link {
  color: var(--apple-blue);
  text-decoration: none;
}

.apple-link:hover {
  text-decoration: underline;
}

/* Apple 风格按钮 */
.apple-button {
  background: var(--apple-blue);
  color: white;
  border-radius: 9999px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.apple-button:hover {
  background: var(--apple-blue-hover);
}

/* Apple 风格卡片 */
.apple-card {
  background: white;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
@keyframes apple-style-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.apple-style-card {
  position: relative;
  overflow: hidden;
}

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

.apple-style-card:hover::before {
  opacity: 1;
}

.apple-style-gradient {
  background: linear-gradient(135deg, #000000, #0071e3);
}

.apple-style-gradient-text {
  background: linear-gradient(135deg, #000000, #0071e3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.apple-style-frosted {
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  background: rgba(0, 0, 0, 0.08);
}

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

.apple-style-animate-in {
  animation: apple-style-fade-in 0.5s ease-out both;
}

Compatible Layout Patterns

Recommended Layouts

The following layout patterns pair well with the Apple Style style.

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

Apple Style is an ultra-minimalist style derived from Apple's design language, conveying the quality and trust of premium tech products through generous whitespace, refined details, and restrained color usage.

Accessibility

Accessibility Score

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

56

Overall Score

Grade: D - Poor

Contrast Ratios

Score: 43/100Average Ratio: 6.76:1
AA FailAAA Fail
ContextColorsRatioAAAAA
Text on background
/#000000 / #ffffff
21:1
Secondary text on background
/#6b7280 / #ffffff
4.83:1
Muted text on background
/#9ca3af / #ffffff
2.54:1
Text on secondary background
/#000000 / #f5f5f7
19.29:1
Secondary text on secondary
/#6b7280 / #f5f5f7
4.44:1
Button primary
/#ffffff / #0071e3
4.7:1
Text on accent 1
/#000000 / #000000
1:1
Alt text on accent 1
/#6b7280 / #000000
4.34:1
Text on accent 2
/#000000 / #0071e3
4.47:1
Alt text on accent 2
/#6b7280 / #0071e3
1.03:1

Readability

Score

85/100

Font Size

text-base md:text-lg

Font Weight

font-semibold tracking-tight text-black

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.