跳到正文
UIGrammer
EN 中文

风格 · 08

Material 设计

Material 设计 = 色调化表面、胶囊形操作,用色调而非阴影表达层级。

色调表面、胶囊按钮、以海拔代替描边。

整页 整体
卡片
按钮
顶栏
标签

Material 设计是什么?

Material 用色调容器说话:一个主紫色、其余交给容器色调,动作全部胶囊化,海拔取代描边。不写圆角和状态层,模型就会交出平庸的扁平界面。

元素

  • 色调表面
  • 胶囊动作
  • 海拔取代描边

把这个词写进 Prompt。

典型色

  • #6750A4
  • #E8DEF8
  • #FEF7FF
  • #1D1B20

用在

  • SaaS
  • 移动应用
  • 数据面板
Prompt 配方

[组件] + Material + 色调 + 胶囊 + 海拔

BUILD - Build a complete Material-style SaaS product marketing homepage. Not a card, not an isolated navbar, not a dashboard, not a tabs widget. - Domain: tonal product marketing where elevation and pill shapes carry the whole identity. STYLE - Material: tonal surfaces, filled pills, elevation instead of borders - Page fill #FEF7FF, type #1D1B20, mute #49454F, primary #6750A4, primary container #E8DEF8 - Cards white, 12px radius, soft shadow 0 1px 3px rgba(0,0,0,0.12); hover deepens shadow, never translates - Roboto for UI, tabular numerals for metrics. No serif LAYOUT - Top app bar as page chrome: wordmark North, links Product / Docs / Pricing, pill search field on container tint, CTA Get started (#6750A4 pill, white type) - Centered container max-width 1120px, 12 columns, 24px gutter - Finished homepage: split hero (copy + tonal product visual), three feature cards, mosaic (one large + two stacked), three-column footer - Do not present the app bar as a standalone control sitting on an empty well SECTIONS 1. Split hero: "Tonal surfaces. Pill actions." plus a tonal product visual. CTA Start free 2. Three feature cards: Product, Docs, Settings 3. Mosaic: Analytics board (lead) + SaaS landing + Docs shell 4. Three-column footer: Product / Docs / Legal INTERACTION - Hover deepens elevation and adds a subtle 8% state layer. No glow, no translate, no second accent TECHNICAL - React, Tailwind CSS, shadcn/ui restyled to Material tokens - not default shadcn. One homepage route. DON'Ts - No gradients on surfaces. No hard 0px corners. No shadows heavier than 0 2px 10px - No emoji icons, no kitsch illustration - Do not output only a headline plus two empty cells - Docs and Settings are destinations, not the homepage type MOTION - Use the standard curves: enter 200ms decelerate, exit 150ms accelerate. - Ripple expands from the exact touch point over 400ms. - Elevation changes animate the shadow, 200ms. - prefers-reduced-motion: no ripple, keep the state colour change.