HomeStylesTemplates
StyleKit
StylesTemplates
  1. Home
  2. /Styles
  3. /Apple Style
Style Catalog/Apple 风格

Apple 风格

Apple Style

D
56/100Poor

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极简高端科技产品留白精致minimalcleansimple
View Full Showcase →Templates

Best For

Apple / 极简 / 高端

Primary Move

Use generous whitespace to let content breathe

Watch Out

Do NOT use too many colors

Showcase Entry

Live preview of the showcase page. Click to explore the full experience.

View Full Showcase →

Color Palette

Primary

#000000

Secondary

#f5f5f7

Accent 1

#0071e3

Accent 2

#34c759

Accent 3

#ff3b30

Accent 4

#a13ff6

AI ImplementationComponent PreviewReadinessExportsRatings & Feedback

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

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.
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.

Z型布局

Z-Pattern Layout

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.

StyleKit

A curated web design style library to help AI generate better-looking websites.

Navigation

StylesTemplatesGuideBlogChangelog

Resources

UI Design PromptsLanding Page PromptsDashboard PromptsTailwind UI PromptsDark Mode UI PromptsGitHub Repository

Stay Updated

By subscribing, you agree to our Privacy Policy and Terms.


Support Maintenance

If StyleKit helps your workflow, voluntary support helps cover servers, domains, and ongoing upkeep.

Scan to support / View all options

(c) 2026 StyleKit. Open source project.

AboutContactPrivacyTermsBuilt with the Editorial style
Stylekit前端样式库stylekit.top陕ICP备2025065501号-3