Best For
Notion / 文档 / 极简
Notion Style
A minimalist and clean document tool style emphasizing content readability and functionality, using subtle borders, gentle hover effects, and clear typographic hierarchy.
Best For
Notion / 文档 / 极简
Primary Move
Use Notion's signature beige background #f7f6f3
Watch Out
Do NOT use large border radii rounded-2xl or larger
Showcase Entry
Live preview of the showcase page. Click to explore the full experience.
Color Palette
Primary
#37352f
Secondary
#ffffff
Accent 1
#2eaadc
Accent 2
#eb5757
AI Implementation
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.
Use this by default: copy it, append the concrete requirement, and let AI generate consistent production UI.
When to use
How to use
STYLEKIT_STYLE_REFERENCE
style_name: Notion Style
style_slug: notion-style
style_source: /styles/notion-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 a Notion Style design frontend development expert. All generated code must strictly follow these constraints:
## Absolute Prohibitions
- Using large radii rounded-2xl, rounded-3xl, rounded-full
- Using gradient backgrounds bg-gradient-*
- Using heavy shadows shadow-xl, shadow-2xl
- Using overly vibrant colors
- Excessive decoration and animation
## Must Follow
- Notion beige background bg-[#f7f6f3]
- Subtle borders border border-gray-200
- Small radii rounded-md or rounded-lg
- Gentle hover hover:bg-gray-100
- Clear typographic hierarchy
## Color Palette
Primary:
- Text: text-[#37352f] (Notion dark gray)
- Background: bg-white, bg-[#f7f6f3]
- Border: border-gray-200
Accent colors:
- Blue: text-[#2eaadc], bg-blue-50
- Red: text-[#eb5757], bg-red-50
- Green: text-[#0f7b6c], bg-green-50
- Yellow: text-[#dfab01], bg-yellow-50
## Interactions
- Hover: hover:bg-[#efedea] (Block Highlighting, extremely low signal-to-noise)
- Selected: bg-[#e3e1db] (Micro-click, only deepens background)
- Focus: focus:ring-2 focus:ring-blue-500/30
## Animation & Interaction Rules
- Ultimate Restraint: Strictly prohibit any translate or scale animations; document tools require absolute visual stability.
- Block Highlighting: Hover background shifts from #f7f6f3 to #efedea (about 5% brightness change), transition-colors duration-150, signal-to-noise ratio intentionally kept extremely low.
- Drag Handle Illusion: Cards/list items use group class, left-side drag handle opacity-0 group-hover:opacity-100 transition-opacity duration-150, this is Notion's signature UX pattern.
- Micro-click: Active state only deepens background to #e3e1db, no other visual changes, embodying the restraint of an efficiency tool.
## Self-Check
After generating code, verify:
1. No gradients used
2. Moderate radii (rounded-md or rounded-lg)
3. Gentle shadows (shadow-sm or shadow-md)
4. Overall feel is clean and refreshingComponent Templates
Notion 风格按钮,极度克制的 Block Highlighting + Micro-click 反馈
Frontend Readiness
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%
MissingUI States
79%
PartialMotion
70%
PartialA11y
70%
PartialPerformance
35%
FallbackButton
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
/* Notion Style 全局样式 */
:root {
--notion-text: #37352f;
--notion-text-gray: #9b9a97;
--notion-bg: #ffffff;
--notion-bg-gray: #f7f6f3;
--notion-blue: #2eaadc;
--notion-red: #eb5757;
--notion-green: #0f7b6c;
--notion-yellow: #dfab01;
--notion-border: rgba(55, 53, 47, 0.09);
}
/* 基础文字样式 */
body {
font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif;
color: var(--notion-text);
line-height: 1.5;
}
/* Notion 风格链接 */
.notion-link {
color: var(--notion-text);
text-decoration: underline;
text-decoration-color: rgba(55, 53, 47, 0.4);
text-underline-offset: 2px;
}
.notion-link:hover {
text-decoration-color: var(--notion-text);
}
/* Notion 风格代码块 */
.notion-code {
font-family: SFMono-Regular, Menlo, Consolas, "PT Mono", "Liberation Mono", Courier, monospace;
font-size: 85%;
background: rgba(135, 131, 120, 0.15);
border-radius: 3px;
padding: 0.2em 0.4em;
}
/* Notion 风格分割线 */
.notion-divider {
border: none;
border-top: 1px solid var(--notion-border);
margin: 1rem 0;
}
@keyframes notion-style-fade-in {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes notion-style-pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.7; }
}
.notion-style-card {
position: relative;
overflow: hidden;
}
.notion-style-card::before {
content: "";
position: absolute;
inset: 0;
opacity: 0;
transition: opacity 0.3s ease;
background: linear-gradient(135deg, rgba(55, 53, 47, 0.05), transparent);
pointer-events: none;
}
.notion-style-card:hover::before {
opacity: 1;
}
.notion-style-gradient {
background: linear-gradient(135deg, #37352f, #2eaadc);
}
.notion-style-gradient-text {
background: linear-gradient(135deg, #37352f, #2eaadc);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.notion-style-frosted {
backdrop-filter: blur(12px) saturate(180%);
-webkit-backdrop-filter: blur(12px) saturate(180%);
background: rgba(55, 53, 47, 0.08);
}
.notion-style-accent-corner {
clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%);
}
.notion-style-animate-in {
animation: notion-style-fade-in 0.5s ease-out both;
}Compatible Layout Patterns
The following layout patterns pair well with the Notion 风格 style.
IDE Integration
Download configuration files for AI coding assistants to generate code in this style.
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
Notion Style is a minimalist design style originating from the Notion app, emphasizing content readability and intuitive functionality. Through subtle visual elements and clear hierarchical structure, it lets users focus on the content itself.
WCAG 2.1 compliance analysis based on color contrast and typography readability.
Overall Score
Grade: C - Fair
Contrast Ratios
| Context | Colors | Ratio | AA | AAA |
|---|---|---|---|---|
| Text on background | /#37352f / #ffffff | 12.26:1 | ||
| Secondary text on background | /#4b5563 / #ffffff | 7.56:1 | ||
| Muted text on background | /#9ca3af / #ffffff | 2.54:1 | ||
| Text on secondary background | /#37352f / #f7f6f3 | 11.35:1 | ||
| Secondary text on secondary | /#4b5563 / #f7f6f3 | 6.99:1 | ||
| Button primary | /#ffffff / #2eaadc | 2.66:1 |
Readability
Score
77/100
Font Size
text-base
Font Weight
font-semibold text-gray-900
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.
Design Recipes
These curated recipes combine this style with layouts and animations, optimized for specific use cases.