---
version: "DESIGN.md Pro"
name: PlanetScale Analysis
analyzedBy: getdesign.md
source: "https://getdesign.md/design-md/planetscale"
license: "getdesign.md License — https://getdesign.md/license"
# Third-party analysis, not affiliated with PlanetScale. Keep the analyzedBy, source and license lines when copying or sharing this file.
description: "An analysis of PlanetScale's design language — a database site typeset like a plain-text manual, with one 16px monospace size on off-white, one-pixel boxes, ASCII diagrams and dotted rules, orange for actions, blue for links and yellow for announcements."
colors:
primary: "#f35815"
on-primary: "#ffffff"
canvas: "#fafafa"
ink: "#414141"
ink-contrast: "#000000"
ink-muted: "#737373"
hairline: "#c1c1c1"
rule: "#414141"
field-line: "#818181"
surface-white: "#ffffff"
surface-soft: "#ebebeb"
surface-track: "#e9e9e9"
surface-black: "#111111"
link: "#0b6ec5"
link-soft: "#ddf2ff"
note-soft: "#f3fbff"
selected-line: "#1e9de7"
announcement: "#fbca00"
highlight: "#fed54a"
success: "#13862e"
typography:
title:
fontFamily: ui-monospace
fontSize: 16px
fontWeight: 700
lineHeight: 1.5
letterSpacing: 0
body:
fontFamily: ui-monospace
fontSize: 16px
fontWeight: 400
lineHeight: 1.5
letterSpacing: 0
body-strong:
fontFamily: ui-monospace
fontSize: 16px
fontWeight: 600
lineHeight: 1.5
letterSpacing: 0
medium:
fontFamily: ui-monospace
fontSize: 16px
fontWeight: 500
lineHeight: 1.5
letterSpacing: 0
button:
fontFamily: ui-monospace
fontSize: 16px
fontWeight: 600
lineHeight: 1
letterSpacing: 0
button-lg:
fontFamily: ui-monospace
fontSize: 16px
fontWeight: 600
lineHeight: 1.5
letterSpacing: 0
field:
fontFamily: ui-monospace
fontSize: 16px
fontWeight: 400
lineHeight: 1.38
letterSpacing: 0
diagram:
fontFamily: ui-monospace
fontSize: 16px
fontWeight: 500
lineHeight: 1.25
letterSpacing: 0
rounded:
none: 0px
xs: 2px
spacing:
xxs: 4px
xs: 8px
sm: 16px
md: 24px
lg: 48px
xl: 96px
components:
button-primary:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.button}"
rounded: "{rounded.none}"
padding: 0px 8px
height: 32px
button-primary-lg:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.button-lg}"
rounded: "{rounded.none}"
padding: 0px 16px
height: 40px
button-outline:
textColor: "{colors.ink}"
typography: "{typography.button}"
rounded: "{rounded.none}"
padding: 0px 8px
height: 32px
button-announcement:
backgroundColor: "{colors.surface-black}"
textColor: "{colors.on-primary}"
typography: "{typography.body-strong}"
rounded: "{rounded.none}"
padding: 0px 4px
height: 19px
button-disclosure:
textColor: "{colors.link}"
typography: "{typography.body-strong}"
rounded: "{rounded.none}"
height: 24px
button-arrow:
backgroundColor: "{colors.link-soft}"
textColor: "{colors.link}"
typography: "{typography.body}"
rounded: "{rounded.none}"
padding: 0px 4px
height: 19px
button-copy:
backgroundColor: "{colors.surface-soft}"
textColor: "{colors.ink}"
rounded: "{rounded.none}"
padding: 8px
size: 34px
logo-grid:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
rounded: "{rounded.none}"
width: 1088px
logo-cell:
backgroundColor: "{colors.canvas}"
textColor: "{colors.link}"
typography: "{typography.body}"
rounded: "{rounded.none}"
height: 109px
width: 219px
tab-panel:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body}"
rounded: "{rounded.none}"
padding: 24px
width: 1088px
callout-blue:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body}"
rounded: "{rounded.none}"
padding: 24px
height: 146px
width: 1088px
calculator:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body}"
rounded: "{rounded.none}"
width: 752px
calculator-section:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.title}"
rounded: "{rounded.none}"
padding: 24px
width: 750px
total-bar:
backgroundColor: "{colors.surface-soft}"
textColor: "{colors.ink}"
typography: "{typography.body-strong}"
rounded: "{rounded.none}"
padding: 24px
height: 95px
width: 752px
resource-table:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body}"
rounded: "{rounded.none}"
width: 513px
feature-table:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.title}"
rounded: "{rounded.none}"
padding: 24px
width: 1088px
note-panel:
backgroundColor: "{colors.note-soft}"
textColor: "{colors.ink-contrast}"
typography: "{typography.body-strong}"
rounded: "{rounded.none}"
padding: 24px
height: 170px
width: 288px
choice-card:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body-strong}"
rounded: "{rounded.none}"
padding: 20px 24px
height: 146px
width: 545px
choice-card-active:
backgroundColor: "{colors.surface-white}"
textColor: "{colors.ink}"
typography: "{typography.body-strong}"
rounded: "{rounded.none}"
padding: 20px 24px
height: 146px
width: 545px
case-row:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink-contrast}"
typography: "{typography.title}"
rounded: "{rounded.none}"
code-block:
backgroundColor: "{colors.surface-soft}"
textColor: "{colors.ink-contrast}"
typography: "{typography.medium}"
rounded: "{rounded.none}"
padding: 16px 64px 16px 16px
height: 80px
form-panel:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.title}"
rounded: "{rounded.none}"
padding: 24px
width: 1088px
text-input:
backgroundColor: "{colors.surface-white}"
textColor: "{colors.ink}"
typography: "{typography.field}"
rounded: "{rounded.none}"
padding: 8px 12px
height: 42px
select-input:
backgroundColor: "{colors.surface-white}"
textColor: "{colors.ink}"
typography: "{typography.field}"
rounded: "{rounded.none}"
padding: 8px 12px
height: 42px
size-select:
backgroundColor: "{colors.surface-white}"
textColor: "{colors.ink}"
typography: "{typography.field}"
rounded: "{rounded.none}"
padding: 6px 8px
height: 42px
width: 513px
textarea-input:
backgroundColor: "{colors.surface-white}"
textColor: "{colors.ink}"
typography: "{typography.field}"
rounded: "{rounded.none}"
padding: 8px 12px
height: 128px
radio-square:
backgroundColor: "{colors.canvas}"
textColor: "{colors.link}"
rounded: "{rounded.none}"
range-slider:
backgroundColor: "{colors.surface-track}"
textColor: "{colors.link}"
rounded: "{rounded.none}"
height: 12px
width: 317px
segment:
backgroundColor: "{colors.surface-soft}"
textColor: "{colors.ink}"
typography: "{typography.medium}"
rounded: "{rounded.none}"
padding: 0px 8px
height: 24px
segment-active:
backgroundColor: "{colors.link}"
textColor: "{colors.on-primary}"
typography: "{typography.medium}"
rounded: "{rounded.none}"
padding: 0px 8px
height: 24px
announcement-bar:
backgroundColor: "{colors.announcement}"
textColor: "{colors.surface-black}"
typography: "{typography.medium}"
rounded: "{rounded.none}"
height: 40px
top-nav:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body-strong}"
rounded: "{rounded.none}"
height: 96px
product-tab:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body-strong}"
rounded: "{rounded.none}"
padding: 16px 0px
height: 56px
width: 362px
product-tab-active:
backgroundColor: "{colors.surface-black}"
textColor: "{colors.canvas}"
typography: "{typography.body-strong}"
rounded: "{rounded.none}"
padding: 16px 0px
height: 56px
width: 362px
footer-grid:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body}"
rounded: "{rounded.none}"
padding: 24px
width: 1088px
footer-links:
textColor: "{colors.ink}"
typography: "{typography.body}"
page-title:
textColor: "{colors.ink-contrast}"
typography: "{typography.title}"
rounded: "{rounded.none}"
padding: 0px 0px 0px 16px
height: 24px
section-heading:
textColor: "{colors.ink-contrast}"
typography: "{typography.title}"
text-link:
textColor: "{colors.link}"
typography: "{typography.body}"
quote-block:
textColor: "{colors.ink}"
typography: "{typography.body}"
ascii-diagram:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink-contrast}"
typography: "{typography.diagram}"
rounded: "{rounded.none}"
padding: 16px
height: 552px
width: 889px
bullet-list:
textColor: "{colors.ink}"
typography: "{typography.body}"
dotted-rule:
textColor: "{colors.rule}"
typography: "{typography.body}"
badge-new:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.medium}"
rounded: "{rounded.xs}"
padding: 0px 4px
height: 24px
badge-size:
backgroundColor: "{colors.rule}"
textColor: "{colors.surface-white}"
typography: "{typography.medium}"
rounded: "{rounded.none}"
padding: 2px 8px
height: 28px
mark-highlight:
backgroundColor: "{colors.highlight}"
textColor: "{colors.ink-contrast}"
typography: "{typography.title}"
rounded: "{rounded.none}"
padding: 0px 4px
height: 19px
---
## Overview
PlanetScale hosts databases, and its site reads like the manual page of one. Every character on it is the system monospace at 16px on a 24px line. There is no larger headline, no hero, no illustration and no photograph. Hierarchy is made with weight (400 to 700), with color, and with the marks a text file allows: asterisks for lists, pipes between links, rows of periods between sections, a vertical bar in the margin beside the page title. The architecture drawing of Vitess is made of box-drawing characters.
The page is an off-white sheet (`{colors.canvas}`) with a 96px margin, and text runs the full 1088px of the remaining measure, as it would in a terminal. Boxes are outlined once in the text color (`{colors.rule}`), square, and share edges: the customer wall is literally a table of 85 cells. A double frame marks the total, a dashed one the footer. Colored fills appear as text runs, a word set in reverse, a yellow marker, a pale blue arrow, more often than as areas.
Four colors have jobs. `{colors.primary}` orange is for getting in touch, `{colors.link}` blue for everything clickable in text and for chosen options, `{colors.announcement}` yellow for news, `{colors.success}` green for engines and prices. They arrive at full strength and without tints, because the ground is so plain.
**Key Characteristics:**
- One monospace family, one size, one line height.
- Text marks instead of graphics: `*`, `|`, `....`, box drawing.
- One-pixel square boxes that share edges.
- Links in blue without underline; titles with one.
- Orange, blue, yellow and green, each with one task.
- A pricing calculator built from plain form controls.
- Page rhythm: yellow strip → piped navigation → barred title and paragraphs → logo table → tabs with ASCII diagram → underlined sections divided by dots → dashed footer.
## Colors
### Brand & Accent
- **Orange** (`{colors.primary}` — #f35815): "Get in touch", "Submit", the sandbox frame, the title bar, "NEW", required asterisks.
- **On Primary** (`{colors.on-primary}` — #ffffff): labels on orange and on reversed runs.
- **Yellow** (`{colors.announcement}` — #fbca00): the strip at the top.
- **Highlight** (`{colors.highlight}` — #fed54a): the marker behind "Includes 3 nodes".
### Surface
- **Canvas** (`{colors.canvas}` — #fafafa): every page and box.
- **White** (`{colors.surface-white}` — #ffffff): inputs, the chosen contact option.
- **Soft** (`{colors.surface-soft}` — #ebebeb): total bar, code, idle segment, table total.
- **Track** (`{colors.surface-track}` — #e9e9e9): slider rail.
- **Black** (`{colors.surface-black}` — #111111): open product tab, the "Learn more" run.
- **Link Soft** (`{colors.link-soft}` — #ddf2ff): arrow runs after case studies.
- **Note Soft** (`{colors.note-soft}` — #f3fbff): the Enterprise note.
- **Rule** (`{colors.rule}` — #414141): all box lines, the same grey as text.
- **Field Line** (`{colors.field-line}` — #818181): selects and the message field on contact.
- **Hairline** (`{colors.hairline}` — #c1c1c1): pipes and underlines of titles.
### Text
- **Ink** (`{colors.ink}` — #414141): copy, navigation, labels.
- **Contrast** (`{colors.ink-contrast}` — #000000): titles, diagram, code.
- **Muted** (`{colors.ink-muted}` — #737373): attributions, hints, copyright.
- **Link** (`{colors.link}` — #0b6ec5): inline links, disclosures, chosen radios, slider fill, active segment, the agent callout's frame.
### Semantic
- **Success** (`{colors.success}` — #13862e): "Vitess" and "Postgres" beside case studies, prices.
- **Selected Line** (`{colors.selected-line}` — #1e9de7): 2px frame of the chosen contact option.
## Typography
### Font Family
The system monospace stack, **ui-monospace** (SF Mono, Menlo, Consolas by platform), for everything.
### Hierarchy
| Token | Size | Weight | Line Height | Letter Spacing | Use |
|---|---|---|---|---|---|
| `{typography.title}` | 16px | 700 | 1.5 | 0 | "The world's fastest and most scalable…", section heads |
| `{typography.body}` | 16px | 400 | 1.5 | 0 | Copy, links, footer |
| `{typography.body-strong}` | 16px | 600 | 1.5 | 0 | Navigation, radio names, tabs |
| `{typography.medium}` | 16px | 500 | 1.5 | 0 | Engine names, segments, "NEW" |
| `{typography.button}` | 16px | 600 | 1 | 0 | "View sandbox", "Get in touch" |
| `{typography.button-lg}` | 16px | 600 | 1.5 | 0 | "Get started", "Submit" |
| `{typography.field}` | 16px | 400 | 1.38 | 0 | Inputs and selects |
| `{typography.diagram}` | 16px | 500 | 1.25 | 0 | VTGate drawing |
### Principles
All eight roles are 16px. 700 is for titles, and black instead of grey doubles the effect; 600 is for things with names (navigation, options, buttons); 500 for values; 400 for reading. Line height is 24px except in buttons (1), fields (22px) and the diagram (20px, so that vertical strokes meet). Sections are announced by a bold word with a thin underline, never by size. Nothing is uppercase, italic or tracked. Long lines are accepted, because the measure belongs to the text and not to a column grid.
### Note on Font Substitutes
The stack resolves to the platform's own monospace. Where one face must be shipped, IBM Plex Mono or JetBrains Mono at 400–700 keeps the proportions.
## Layout
### Spacing System
- **Base unit**: 8px; the 24px line is the vertical module.
- **Tokens**: `{spacing.xxs}` 4px · `{spacing.xs}` 8px · `{spacing.sm}` 16px · `{spacing.md}` 24px · `{spacing.lg}` 48px · `{spacing.xl}` 96px.
- **Uses**: page gutter `{spacing.xl}`; boxes pad `{spacing.md}`; paragraphs stand one line (`{spacing.md}`) apart; dotted rules have `{spacing.lg}` on both sides; buttons pad `{spacing.xs}` or `{spacing.sm}`; colored runs `{spacing.xxs}`.
### Grid & Container
A single 1088px column between 96px margins; the logo mark hangs in the left margin. The logo wall is five columns of 219px. The calculator is 752px with a 288px column of notes, 48px apart. Contact and Enterprise boxes split in half at 545px, the footer in five. Case studies give 160px to a logo and the rest to text.
### Whitespace Philosophy
Blank lines, as in a text file. One line separates paragraphs, two surround a rule, and no element is given room for effect.
### Responsive Strategy
#### Breakpoints
| Name | Width | Key Changes |
|---|---|---|
| Desktop | ≥ 1280px | Full navigation, five-column logos |
| Laptop | 1024–1279px | Pricing notes drop below the calculator |
| Phone | ≤ 640px | Two-column logos, single-column forms, menu |
#### Touch Targets
Logo cells are 109px, tabs 56px, inputs and selects 42px, large buttons 40px, navigation buttons 32px, radios 24px rows, text links one 24px line.
#### Collapsing Strategy
Tables lose columns and keep their lines. Boxes that shared an edge stack and still share it. The ASCII diagram scrolls sideways instead of scaling.
#### Image Behavior
Logos are shown in their own colors, centered in their cells. A single product chart appears as a screenshot, unframed, with a caption indented below.
## Elevation & Depth
| Level | Treatment | Use |
|---|---|---|
| 0 | Text on canvas | Most of every page |
| 1 | 1px `{colors.rule}` | Tables, panels, inputs |
| 2 | 1px with an inner second frame | Total bar |
| 3 | 2px `{colors.selected-line}` on white | Chosen contact option |
### Decorative Depth
None. Dropdown selects carry a `0 1px 2px` shadow at 5%, barely visible. Dashed and double frames, taken from text-mode interfaces, do what elevation does elsewhere.
## Shapes
### Border Radius Scale
| Token | Value | Use |
|---|---|---|
| `{rounded.none}` | 0px | Everything |
| `{rounded.xs}` | 2px | "NEW" badge |
### Photography Geometry
No photographs. The round planet mark is the only circle on the site.
## Components
### Buttons
**`button-primary`** — "Get in touch" in the navigation.
- `{colors.primary}` block, `{colors.on-primary}` label in `{typography.button}`, square, padding 0 8px, 132×32px, no border. The outlined "View sandbox" and the plain "Sign in" stand left of it.
**`button-primary-lg`** — "Get started" in the total bar, "Submit" on contact.
- `{colors.primary}` fill, `{colors.on-primary}` label, square corners. The same block with `{typography.button-lg}`, padding 0 16px, 40px tall; "Submit" is stretched to half the form, 519px.
**`button-outline`** — "View sandbox", left of the primary.
- 2px `{colors.primary}` frame, no fill, `{colors.ink}` label in `{typography.button}`, 136×32px, padding 0 8px. The label is not orange, only the frame, so the pair keeps one solid block.
**`button-announcement`** — "Learn more" in the yellow strip.
- Square corners. A `{colors.surface-black}` text run, `{colors.on-primary}` in `{typography.body-strong}`, padding 0 4px, 19px tall, like selected text. The strip has no other control and cannot be closed.
**`button-disclosure`** — "+ Show advanced options".
- `{colors.link}` in `{typography.body-strong}` with a plus character, no underline, 24px tall; "▶ Connect to pricing database" is the grey version with a triangle.
**`button-arrow`** — "→" closing each case study.
- Label in `{typography.body}`, square corners. A `{colors.link-soft}` run with a `{colors.link}` arrow, padding 0 4px, 18×19px, sitting in the sentence.
**`button-copy`** — beside code.
- `{colors.surface-soft}` square, 1px `{colors.rule}`, 34px, a small copy icon, at the block's upper right, `{colors.ink}` icon, padding 8px; the block's right padding of 64px keeps text away from it.
### Cards & Containers
**`logo-grid`** — 85 customers in five columns: a 1088px table in 1px `{colors.rule}`, from Square and Cash App to Mixedbread, `{colors.canvas}` fill, square corners. It replaces the marquee other sites use and takes two screens.
**`logo-cell`** — 219×109px, a full-color logo centered; cells that lead to a case study are links and look the same. No cell is larger than another.
- `{colors.canvas}` fill, `{colors.link}` text in `{typography.body}`, square corners.
**`tab-panel`** — the box under the product tabs.
- 1px `{colors.rule}`, padding 24px, `{colors.canvas}` fill, `{colors.ink}` text in `{typography.body}`, square corners, 1088px wide; two paragraphs, the `ascii-diagram`, a `quote-block`. The open tab joins it without a line between them.
**`callout-blue`** — "You and your agent can query Vitess, Neki, and Postgres cluster pricing using SQL".
- 1px `{colors.link}`, padding 24px, 1088×146px, no fill, `{colors.ink}` text in `{typography.body}`, square corners; a blue file name and a disclosure line inside. Blue frames speak to readers who bring tools.
**`calculator`** — the pricing form.
- `{colors.canvas}` fill, `{colors.ink}` text in `{typography.body}`, square corners. One 752px frame in 1px `{colors.rule}`, its sections stacked without gaps, 1,881px tall, beside an unframed column that explains each engine in plain paragraphs.
**`calculator-section`** — "Region", "Database engine", "Cluster type", "Storage".
- `{colors.canvas}` fill, `{colors.ink}` text, square corners, 750px wide. Padding 24px, 1px `{colors.rule}` below; underlined `{typography.title}`, a `{colors.ink-muted}` hint, then the controls.
**`total-bar`** — the calculator's last row.
- `{colors.surface-soft}` inside a double frame (1px, 2px gap, 1px), padding 24px, 95px, `{colors.ink}` text, square corners, 752px wide; `button-primary-lg` at the left, "Estimated monthly total:" in `{typography.body-strong}` and the sum in `{colors.success}` at the right.
**`resource-table`** — "Includes 3 nodes / CPU / Memory".
- `{colors.canvas}` fill, `{colors.ink}` text, square corners, 513px wide. Rows in `{typography.body}` without lines, a bold total row on `{colors.surface-soft}` under a 1px rule. Column heads are `{colors.ink-muted}` and numbers align right.
**`feature-table`** — "Database expertise", "Migration assistance", "Custom pricing".
- `{colors.canvas}` fill, `{colors.ink}` text, square corners, 1088px wide. Two 545px columns of cells with shared lines, padding 24px, `{typography.title}` and one or two lines of `{typography.body}`, a blank line apart; no icons.
**`note-panel`** — "Have questions about Enterprise options, plan features, or pricing?".
- `{colors.note-soft}`, 1px `{colors.rule}`, padding 24px, 288×170px, `{typography.body-strong}` in black and a blue "Get in touch", `{colors.ink-contrast}` text, square corners.
**`choice-card`** — "Open a support ticket".
- 1px `{colors.rule}`, padding 20px 24px, 545×146px, an empty `radio-square`, text faded to about 70%, `{colors.canvas}` fill, `{colors.ink}` text in `{typography.body-strong}`. The two cards share an edge like a split control.
**`choice-card-active`** — "Talk to an expert".
- `{colors.ink}` text in `{typography.body-strong}`, square corners, padding 20px 24px, 146px tall, 545px wide. The same on `{colors.surface-white}` with a 2px `{colors.selected-line}` frame that overlaps its neighbor, a filled radio and full-strength text.
**`case-row`** — "Cash App: Scaling to 400TiB and 4 million QPS on PlanetScale".
- `{colors.canvas}` fill, `{colors.ink-contrast}` text, square corners. A logo, a black `{typography.title}` with a thin underline, the engine in `{colors.success}` `{typography.medium}`, one sentence and `button-arrow`; `dotted-rule` between rows.
**`code-block`** — connection commands.
- `{colors.surface-soft}`, padding 16px 64px 16px 16px, `{typography.medium}` in `{colors.ink-contrast}`, `button-copy`, square corners, 80px tall. It sits in the text column like a paragraph and is the only tinted box there.
**`form-panel`** — the contact form.
- 1px `{colors.rule}`, padding 24px, 1088×856px, names and company in two columns, the rest full width, `{colors.canvas}` fill, `{colors.ink}` text in `{typography.title}`, square corners; labels, hints and fields follow each other on the 24px line, with the legal sentence before "Submit".
### Inputs & Forms
**`text-input`** — "First name", "Work email".
- `{colors.surface-white}`, 1px `{colors.rule}`, square, padding 8px 12px, 42px, `{colors.ink}` text in `{typography.field}`; a `{typography.title}` label above with an orange asterisk, placeholder "e.g. 500GB" in muted grey.
**`select-input`** — "Select an option", "AWS us-east-1".
- `{colors.surface-white}` fill, `{colors.ink}` text in `{typography.field}`, square corners, padding 8px 12px, 42px tall. The same shell with a thin chevron; on contact its line is `{colors.field-line}`.
**`size-select`** — "PS-5 1/16 vCPU · 512 MB memory · 10 GB storage".
- 513×42px, padding 6px 8px, led by `badge-size`, the price in green far right on the same line, `{colors.surface-white}` fill, `{colors.ink}` text in `{typography.field}`, square corners.
**`textarea-input`** — "What would you like to discuss?".
- 1038×128px, 1px `{colors.field-line}`, a hint in `{colors.ink-muted}` between label and field, `{colors.surface-white}` fill, `{colors.ink}` text in `{typography.field}`, square corners, padding 8px 12px.
**`radio-square`** — a 16px square outline; chosen, it holds a 8px `{colors.link}` square, `{colors.canvas}` fill. Name in `{typography.body-strong}`, hint below in `{colors.ink-muted}`. The text of an option wraps under its name, not under the square.
**`range-slider`** — "Storage", "Egress bandwidth".
- Square corners, 317px wide. A 12px `{colors.surface-track}` rail, `{colors.link}` up to the thumb, a white 16×40px rectangle with a dark line as thumb, and a 96px `text-input` with "GB" beside it.
**`segment`** — "aarch64 (10)".
- `{colors.surface-soft}` run, `{typography.medium}`, padding 0 8px, 24px. **`segment-active`** — "x86-64 (10)", `{colors.ink}` text, square corners: `{colors.link}` with white text; runs touch without a gap.
### Navigation
**`announcement-bar`** — "Neki, sharded Postgres, is now available.".
- `{colors.announcement}`, 40px, centered `{typography.medium}` in `{colors.surface-black}` and `button-announcement`, square corners. It is the only colored band of the site and runs the full width, above the header.
**`top-nav`** — 96px tall: the round mark hanging in the margin, "Platform▾ | Resources▾ | Blog | Documentation | Pricing | Migrate" in `{typography.body-strong}` with `{colors.hairline}` pipes, then "Sign in", `button-outline`, `button-primary`, `{colors.canvas}` fill, `{colors.ink}` text, square corners. No line below, no change on scroll; arrows are the ▾ character.
**`product-tab`** — "Neki", "Postgres".
- 362×56px cells joined to the panel, centered `{typography.body-strong}`, 1px `{colors.rule}`. **`product-tab-active`** — "Vitess" reversed, `{colors.ink}` text, square corners, padding 16px 0: `{colors.surface-black}` with `{colors.canvas}` text.
**`footer-grid`** — a 1px dashed frame, dash 12px, split into "Company", "Product", "Resources", "Courses", "Open source" and a legal row; underlined `{typography.title}` heads, plain links, copyright in `{colors.ink-muted}`, `{colors.canvas}` fill, `{colors.ink}` text in `{typography.body}`, square corners, padding 24px, 1088px wide.
**`footer-links`** — "GitHub | X | LinkedIn | YouTube | Discord | Facebook" under the frame, piped in `{colors.hairline}`, in `{typography.body}`; the last line of every page, `{colors.ink}` text.
### Signature Components
**`page-title`** — "The world's fastest and most scalable cloud databases".
- `{typography.title}` in `{colors.ink-contrast}` with a 2px `{colors.primary}` bar 16px to its left, outside the text margin, 24px tall.
**`section-heading`** — "Performance", "Uptime", "Cost".
- `{typography.title}` in `{colors.ink-contrast}` with a `{colors.hairline}` underline as long as the word. On home it is also a link to itself.
**`text-link`** — `{colors.link}` in `{typography.body}`, no underline; dense in lists, where half of each line can be blue. It is the main navigation of the long pages. Weight stays normal, so only the hue marks it.
**`quote-block`** — "We chose PlanetScale to host our most demanding Vitess and Postgres workloads".
- `{colors.ink}` text in `{typography.body}`. A 2px grey bar at the left, 12px away from the text, an attribution below in `{colors.ink-muted}` that starts with a dash.
**`ascii-diagram`** — VTGate, three Primaries and six Replicas in box-drawing characters, `{typography.diagram}` in `{colors.ink-contrast}`, 889×552px; a dithered fill for the gate, double lines for primaries, dashed connectors with solid triangles, `{colors.canvas}` fill, square corners, padding 16px.
**`bullet-list`** — asterisks in `{colors.ink}` hanging one character out, items in `{typography.body}`; bold lead words where an item names a feature. A second line hangs under the first word, never under the asterisk.
**`dotted-rule`** — a full line of periods in `{colors.rule}`, 48px above and below, between sections and case studies, text in `{typography.body}`. The dots run the full width of the text column and take the place of every section gap.
**`badge-new`** — "NEW" beside "Neki".
- `{colors.primary}`, `{rounded.xs}`, padding 0 4px, 24px, white `{typography.medium}`, `{colors.on-primary}` text; the only rounded corner. It follows a product's name inside the text line.
**`badge-size`** — "PS-5" in the size select.
- `{colors.rule}` fill, white `{typography.medium}`, padding 2px 8px, 28px, `{colors.surface-white}` text, square corners. It opens the option and repeats in the selected value.
**`mark-highlight`** — "Includes 3 nodes".
- `{colors.highlight}` run behind `{colors.ink-contrast}` text, padding 0 4px, 19px, like a marker pen, text in `{typography.title}`, square corners. It is used for a single fact per block and never for links.
## Do's and Don'ts
### Do
- Set everything at 16px on a 24px line and change only weight and color.
- Separate sections with `dotted-rule` and list items with asterisks.
- Let boxes share 1px `{colors.rule}` edges.
- Use `{colors.link}` for links and chosen options, `{colors.primary}` for contact.
- Reverse text instead of adding a chip or button shape.
- Draw architecture in box characters.
- Hang the title bar and the mark in the margin.
- Underline section titles with a 1px `{colors.hairline}` line and keep them at body size.
- Draw the footer as a table with dashed lines (`footer-grid`).
- Quote customers as a ruled paragraph (`quote-block`) with the name on its own line in `{colors.ink-muted}`.
### Don't
- Don't enlarge headings.
- Don't round corners, cast shadows or tint sections.
- Don't underline links; underlines belong to titles.
- Don't use icons where a character exists.
- Don't mix a second typeface in.
- Don't give `{colors.announcement}` to anything but news.
- Don't color logos grey; `logo-cell` keeps each mark's own color.
- Don't use `{colors.primary}` as text.
Usage
1. Connect getdesign.md to your AI tool (once)
claude mcp add --scope user --transport http getdesign https://getdesign.md/api/mcpRun it in your terminal, then start a new session. In the Claude app, add a custom connector with this address:
https://getdesign.md/api/mcpThe first time you ask, your AI opens getdesign.md in your browser to sign in. All tools and help
2. Then ask it
Apply the PlanetScale design from getdesign.md to this project.Run this command from your project root, then ask your AI assistant to use DESIGN.md for UI work.
The PlanetScale design reference uses plain-text manual look, single 16px monospace size, ASCII diagrams. It works best for database product sites, technical documentation, and developer pricing tables.
Installs
—
Bookmarked
—
Independent analysis of publicly observable patterns, curated as a starting point for inspiration. Not affiliated with or endorsed by PlanetScale; PlanetScale and its logo are trademarks of their respective owner.
Preview
PlanetScale DESIGN.md FAQ
How do I use the PlanetScale DESIGN.md with Claude Code, Cursor, or Codex?
Run npx getdesign@latest add planetscale from your project root, then ask your AI assistant to use DESIGN.md for UI work.
What does the PlanetScale DESIGN.md cover?
It covers overview, colors, typography, layout, elevation & depth, shapes, components, and do's and don'ts.
Is this an official PlanetScale file?
No. It is an independent analysis of publicly observable patterns, curated as a starting point for inspiration. It is not affiliated with or endorsed by PlanetScale.
Similar DESIGN.md files
Prisma
TypeScript ORM and database. Soft white cards on paper grain, near-black pills, Sora display.
Snowflake
Data cloud. White and cool-grey bands, one sky-blue action color, heavy Texta display type.
Ghost
Open-source publishing. Bold Inter, white, slate and navy bands, small black 6px buttons.
PostHog
Product analytics. Warm cream canvas, hand-drawn hedgehogs, yellow-orange CTA.