frontend-design-saas
它能做什么
这项技能是面向登录后产品界面的设计指南,例如仪表盘、管理面板、设置和账单。它使用中性色、紧凑的间距和清晰的数据表格。
适用场景
- ✓当团队为软件产品构建仪表盘、管理控制台或设置页时。
- ✓当用户需要设计数据表格、表单较多的配置页或账单页时。
- ✓当产品界面看起来像营销页面,需要更安静、更紧凑的风格时。
技能链接
https://github.com/cloudflare/vibesdk/blob/main/worker/agents/think/skills/frontend-design-saas/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我为 SaaS 仪表盘设计设置页和账单页,风格要简洁、信息密度高。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会使用指南中的中性色令牌、紧凑尺寸和较小的阴影,搭建带侧边栏和内容区的布局。品牌色只占页面的一小部分。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
SaaS Design System (Stripe / Linear / Vercel lineage)
AI-Optimized Design Reference for building S-tier SaaS dashboards, admin consoles, billing pages, settings UIs, data-dense application shells, and product surfaces.
Tonal anchors:
stripe.com/dashboard,linear.app,vercel.com/dashboard,notion.so/teamspace,clerk.com,planetscale.com/console.
Quick Reference (TL;DR)
Brand Accent: #5E6AD2 (indigo) - replace with product brand
Neutrals: #FFFFFF → #F8FAFC → #F1F5F9 → #E2E8F0 → #94A3B8 → #475569 → #0F172A
Text: #0F172A (primary) / #475569 (muted) / #94A3B8 (subtle)
Border: #E2E8F0 (default) / #CBD5E1 (strong)
Font Sans: "Inter", "Geist", system-ui (NOT Arial, NOT Roboto)
Font Mono: "JetBrains Mono", "Geist Mono", ui-monospace
Base Spacing: 4px (scale: 4, 8, 12, 16, 20, 24, 32, 40, 48, 64)
Border Radius: Buttons/inputs = 6-8px (NOT pill), Cards = 8-12px, Modals = 12-16px
Shadow: Tight, low-spread, single-direction (NOT diffuse marketing shadows)
Density: Compact-to-comfortable; row heights 36-44px, button heights 32-36px
The fastest way to get this wrong: use marketing-page aesthetics (huge type, generous whitespace, pill buttons, gradient hero shadows) in a product surface. SaaS UIs are dense, neutral, fast, and quiet. The brand color appears in <5% of the pixels and earns its weight by marking only what's interactive or active.
1. Brand Foundation
Design Philosophy
| Principle | Description |
|---|---|
| Users First | Workflows, keyboard navigation, and information density beat decoration. |
| Quiet by Default | Neutrals dominate; the brand color is reserved for primary action, active state, and focus. |
| Speed & Density | Snappy transitions (≤200ms), compact row heights, no entrance animations on every page load. |
| Opinionated Defaults | Single canonical pattern per surface (one button hierarchy, one date picker, one empty state). |
| Meticulous Craft | 1px borders aligned to pixel grid, focus rings 2px offset 2px, motion uses ease-out not linear. |
| Accessible (WCAG AA+) | 4.5:1 text contrast, 3:1 UI element contrast, every interactive surface keyboard-reachable. |
| Predictable | Same component looks/behaves identically on every page; no marketing-grade variants. |
Visual Identity Rules
- Do not use pure black on pure white. Use
#0F172Aon#FFFFFF(or#0B1220on#0A0E1Ain dark mode). - Brand color is the accent, never the dominant. If the brand color fills more than ~5% of the viewport in steady state, something is wrong.
- Avoid pill buttons (
border-radius: 9999px) for SaaS actions. Pills read as marketing/consumer; SaaS uses6-8pxradius for buttons and inputs. - No glassmorphism, no blur, no gradient borders. The aesthetic is precision, not richness.
- Shadows are tight and downward. Not diffuse, not multi-direction. Reserved for floating layers (popovers, modals, dropdowns).
- One font. Inter / Geist / IBM Plex Sans / native system stack. Avoid mixing display + body fonts; SaaS uses a single workhorse sans.
- Mono for IDs, code, tokens, money. Tabular figures (
font-variant-numeric: tabular-nums) for any column of numbers.
Reference apps to mentally calibrate against
| Surface to build | Look at |
|---|---|
| Application shell | Linear, Vercel, Stripe Dashboard |
| Data table | Stripe /payments, Linear backlog, PlanetScale branches |
| Settings page | Vercel project settings, Clerk dashboard, GitHub repo settings |
| Billing / invoice | Stripe billing, Vercel usage |
| Empty state | Linear, Notion, Vercel deployments |
| Command palette | Linear ⌘K, Vercel ⌘K, Raycast |
| Auth | Clerk hosted pages, Stripe Connect onboarding |
| Onboarding checklist | Stripe Atlas, Vercel project import |
2. Color System
2.1 Neutral Scale (the backbone)
SaaS UIs are 80–90% neutrals. The neutral scale carries the entire interface; brand is sprinkled on top. Use a slightly cool neutral (slate) by default — it reads more "product" than warm grays which feel marketing/lifestyle.
| Token | Hex | Usage |
|---|---|---|
--neutral-0 |
#FFFFFF |
Page background (light mode), surface lifted onto canvas |
--neutral-50 |
#F8FAFC |
Canvas background, alternating row stripe |
--neutral-100 |
#F1F5F9 |
Hover background, subtle fill, table header |
--neutral-200 |
#E2E8F0 |
**D |
常见问题
公开页面也适用吗?
不适用。技能说明,公开的落地页由落地页设计技能负责。
它推荐哪些字体?
它推荐 Inter 或 Geist 等现代无衬线字体,代码使用等宽字体。
按钮的圆角是多少?
圆角为 6 到 8 像素,而不是药丸形按钮。
详情
作者的原始描述
S-tier SaaS dashboard and product UI reference. Use this skill when building application shells, data tables, settings panels, billing pages, dashboards, auth flows, admin tools, or any internal/customer-facing SaaS product UI. Inspired by Stripe, Linear, Vercel, Airbnb, Notion. Covers neutral-led design tokens, sidebar+content shells, dense data UIs, form-heavy configuration pages, command palettes, empty states, and the accessibility (WCAG AA+) bar these products clear.
repo: cloudflare/vibesdk
热度
- GitHub 星标
- 5.4k
- 排名
- #14848
- 许可证
- MIT
- 更新时间
- 2026/10/21
评论
- …