---
version: "DESIGN.md Pro"
name: Vite Analysis
analyzedBy: getdesign.md
license: "getdesign.md License — https://getdesign.md/license"
# Third-party analysis, not affiliated with Vite. Keep the analyzedBy and license lines when copying or sharing this file.
description: "An analysis of Vite's design language — a dark, ruled marketing page where a near-black canvas is sliced into hairline-framed cells, a grainy electric-violet texture carries every moment of color, and APK Protocol headlines sit over quiet Inter copy; behind it, a crisp white VitePress documentation shell with one deep violet for every link and active state."
colors:
primary: "#6b1eb9"
on-primary: "#ffffff"
sponsor-pink: "#db2777"
canvas: "#16171d"
surface: "#14121a"
hairline: "#3b3440"
hairline-soft: "#2e2e32"
ink: "#ffffff"
ink-soft: "#b9b9bb"
ink-muted: "#867e8e"
ink-subtle: "#98989f"
docs-canvas: "#ffffff"
docs-surface: "#f6f6f7"
docs-callout: "#eff0f3"
docs-note: "#eadff5"
docs-sponsor-tile: "#f2f2f2"
docs-hairline: "#e2e2e3"
docs-header-line: "#e5e4e7"
docs-control-line: "#c2c2c4"
docs-ink: "#000000"
docs-ink-soft: "#3c3c43"
docs-ink-muted: "#67676c"
typography:
display:
fontFamily: APK Protocol
fontSize: 60px
fontWeight: 500
lineHeight: 67.2px
letterSpacing: -3px
heading-section:
fontFamily: APK Protocol
fontSize: 48px
fontWeight: 500
lineHeight: 48px
letterSpacing: -1.2px
heading-page:
fontFamily: APK Protocol
fontSize: 48px
fontWeight: 500
lineHeight: 56px
letterSpacing: -0.5px
heading-sub:
fontFamily: APK Protocol
fontSize: 40px
fontWeight: 500
lineHeight: 53.33px
letterSpacing: -1px
docs-h1:
fontFamily: APK Protocol
fontSize: 32px
fontWeight: 600
lineHeight: 40px
letterSpacing: -0.64px
heading-feature:
fontFamily: APK Protocol
fontSize: 24px
fontWeight: 500
lineHeight: 28px
letterSpacing: 0
docs-h2:
fontFamily: APK Protocol
fontSize: 24px
fontWeight: 600
lineHeight: 32px
letterSpacing: -0.48px
post-title:
fontFamily: APK Protocol
fontSize: 22px
fontWeight: 600
lineHeight: 32px
letterSpacing: -0.44px
member-name:
fontFamily: APK Protocol
fontSize: 20px
fontWeight: 600
lineHeight: 28px
letterSpacing: 0.15px
nav-link:
fontFamily: APK Protocol
fontSize: 16px
fontWeight: 400
lineHeight: 24px
letterSpacing: 0
sidebar-heading:
fontFamily: APK Protocol
fontSize: 14px
fontWeight: 700
lineHeight: 24px
letterSpacing: 0
lead:
fontFamily: Inter
fontSize: 20px
fontWeight: 500
lineHeight: 28px
letterSpacing: 0.15px
body-lg:
fontFamily: Inter
fontSize: 18px
fontWeight: 400
lineHeight: 28px
letterSpacing: 0
body:
fontFamily: Inter
fontSize: 16px
fontWeight: 400
lineHeight: 28px
letterSpacing: 0
quote:
fontFamily: Inter
fontSize: 16px
fontWeight: 400
lineHeight: 26px
letterSpacing: 0
button:
fontFamily: Inter
fontSize: 16px
fontWeight: 500
lineHeight: 22.4px
letterSpacing: 0
ui-sm:
fontFamily: Inter
fontSize: 14px
fontWeight: 500
lineHeight: 24px
letterSpacing: 0
tab-label:
fontFamily: Inter
fontSize: 14px
fontWeight: 500
lineHeight: 48px
letterSpacing: 0
search:
fontFamily: Inter
fontSize: 14px
fontWeight: 400
lineHeight: 14px
letterSpacing: 0
outline-link:
fontFamily: Inter
fontSize: 13px
fontWeight: 400
lineHeight: 28px
letterSpacing: 0
caption:
fontFamily: Inter
fontSize: 12px
fontWeight: 500
lineHeight: 20px
letterSpacing: 0
eyebrow:
fontFamily: KH Teka Mono
fontSize: 12px
fontWeight: 400
lineHeight: 16px
letterSpacing: 0.3px
mono-handle:
fontFamily: KH Teka Mono
fontSize: 14px
fontWeight: 400
lineHeight: 20px
letterSpacing: 0
code:
fontFamily: KH Teka Mono
fontSize: 14px
fontWeight: 400
lineHeight: 23.8px
letterSpacing: 0
code-hero:
fontFamily: KH Teka Mono
fontSize: 16px
fontWeight: 400
lineHeight: 22.4px
letterSpacing: 0
rounded:
none: 0px
xs: 4px
sm: 8px
md: 11px
lg: 12px
full: 9999px
spacing:
xxs: 4px
xs: 8px
sm: 12px
md: 16px
lg: 24px
xl: 32px
xxl: 40px
section: 112px
components:
button-primary-glow:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.button}"
rounded: "{rounded.sm}"
padding: 8px 16px
height: 38px
button-outline:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.button}"
rounded: "{rounded.sm}"
padding: 8px 16px
height: 38px
button-white:
backgroundColor: "{colors.ink}"
textColor: "{colors.canvas}"
typography: "{typography.button}"
rounded: "{rounded.sm}"
padding: 8px 16px
height: 38px
button-search:
backgroundColor: "{colors.surface}"
textColor: "{colors.ink-subtle}"
typography: "{typography.search}"
rounded: "{rounded.sm}"
padding: 8px 12px
height: 38px
button-search-docs:
backgroundColor: "{colors.docs-surface}"
textColor: "{colors.docs-ink-muted}"
typography: "{typography.search}"
rounded: "{rounded.sm}"
padding: 8px 12px
height: 38px
button-sponsor:
backgroundColor: "{colors.docs-surface}"
textColor: "{colors.sponsor-pink}"
typography: "{typography.ui-sm}"
rounded: "{rounded.none}"
padding: 16px
height: 52px
toggle-appearance:
backgroundColor: "{colors.docs-callout}"
rounded: "{rounded.md}"
width: 40px
height: 22px
feature-cell:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.heading-feature}"
rounded: "{rounded.none}"
padding: 40px
feature-media-panel:
rounded: "{rounded.none}"
testimonial-card:
backgroundColor: "{colors.surface}"
textColor: "{colors.ink-soft}"
typography: "{typography.quote}"
rounded: "{rounded.sm}"
padding: 40px 32px
stat-block:
textColor: "{colors.ink}"
typography: "{typography.heading-section}"
sponsor-grid-cell:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink-subtle}"
typography: "{typography.eyebrow}"
rounded: "{rounded.none}"
cta-band:
textColor: "{colors.ink}"
typography: "{typography.heading-section}"
rounded: "{rounded.none}"
padding: 120px 0px
team-member-card:
backgroundColor: "{colors.docs-surface}"
textColor: "{colors.docs-ink}"
typography: "{typography.member-name}"
rounded: "{rounded.lg}"
padding: 48px 32px
team-avatar:
rounded: "{rounded.full}"
size: 96px
pager-card:
backgroundColor: "{colors.docs-canvas}"
textColor: "{colors.primary}"
typography: "{typography.ui-sm}"
rounded: "{rounded.sm}"
padding: 11px 16px 13px
height: 66px
callout-tip:
backgroundColor: "{colors.docs-callout}"
textColor: "{colors.docs-ink-soft}"
typography: "{typography.button}"
rounded: "{rounded.sm}"
padding: 16px 20px
height: 60px
callout-note:
backgroundColor: "{colors.docs-note}"
textColor: "{colors.docs-ink-soft}"
typography: "{typography.ui-sm}"
rounded: "{rounded.sm}"
padding: 16px 16px 8px
details-block:
backgroundColor: "{colors.docs-callout}"
textColor: "{colors.docs-ink-soft}"
typography: "{typography.ui-sm}"
rounded: "{rounded.sm}"
padding: 16px 16px 8px
aside-sponsor-tile:
backgroundColor: "{colors.docs-sponsor-tile}"
rounded: "{rounded.lg}"
height: 96px
docs-table:
backgroundColor: "{colors.docs-canvas}"
textColor: "{colors.docs-ink}"
typography: "{typography.ui-sm}"
rounded: "{rounded.none}"
padding: 8px 16px
blog-post-row:
backgroundColor: "{colors.docs-canvas}"
textColor: "{colors.primary}"
typography: "{typography.post-title}"
rounded: "{rounded.none}"
top-bar-dark:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.nav-link}"
padding: 20px 24px
height: 81px
top-bar-docs:
backgroundColor: "{colors.docs-canvas}"
textColor: "{colors.canvas}"
typography: "{typography.nav-link}"
padding: 20px 24px
height: 81px
docs-sidebar:
backgroundColor: "{colors.docs-canvas}"
textColor: "{colors.docs-ink-muted}"
typography: "{typography.ui-sm}"
padding: 20px 32px 96px
width: 272px
docs-outline:
textColor: "{colors.docs-ink-muted}"
typography: "{typography.outline-link}"
width: 191px
footer:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body}"
padding: 20px 96px
install-tabs:
backgroundColor: "{colors.surface}"
textColor: "{colors.ink}"
typography: "{typography.tab-label}"
rounded: "{rounded.sm}"
padding: 0px 12px
height: 49px
code-block-docs:
backgroundColor: "{colors.docs-surface}"
textColor: "{colors.docs-ink-muted}"
typography: "{typography.code}"
rounded: "{rounded.sm}"
padding: 0px 24px
inline-code:
backgroundColor: "{colors.docs-callout}"
textColor: "{colors.primary}"
typography: "{typography.code}"
rounded: "{rounded.xs}"
padding: 3px 6px
section-frame:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.heading-section}"
padding: 112px 40px
logo-strip:
backgroundColor: "{colors.canvas}"
textColor: "{colors.ink}"
typography: "{typography.body}"
padding: 32px 40px
edit-link:
textColor: "{colors.primary}"
typography: "{typography.ui-sm}"
height: 32px
---
## Overview
Vite's site is two products in one frame. The home page is a dark, engineered poster: a #16171d canvas ruled into cells by 1px plum-grey hairlines, small tick marks where the rules cross, and generous empty space between centred APK Protocol statements such as "Redefining developer experience" and "A shared foundation to build upon". Color is almost absent from the chrome. It arrives only as a grainy, light-streaked electric-violet texture that fills feature media panels, rings the hero "Get Started" button and floods the closing "Start building with Vite" band.
The documentation, team and blog pages switch to a white VitePress shell with the same header geometry. Here the system is pure reading: black Inter body at 16/28, APK Protocol headings divided by hairlines, pale grey code and callout panels at 8px radius, and a single deep violet that marks every link, active nav item and blog title. The team page adds grey member cards with round avatars and a pink "Sponsor" strip.
Density is low on marketing and medium on docs. Headlines are medium weight with tight negative tracking; supporting copy is muted to 70% white or a warm grey, so the display type always dominates. Mono type (KH Teka Mono) labels sections, quotes handles and runs inside terminal and code samples, keeping the developer-tool identity present without decoration.
**Key Characteristics:**
- A ruled grid of hairline-framed sections on `{colors.canvas}`, never cards floating on a void.
- Violet on the home page is a grainy image texture (see Decorative Depth), never a flat button fill.
- Buttons are 38px, `{rounded.sm}`, Inter 500: dark with a violet ring, outlined, or white on violet.
- APK Protocol for every headline and nav label, Inter for reading, KH Teka Mono for eyebrows and code.
- Docs pages use one accent, `{colors.primary}`, for links, active states and titles.
- Rhythm on the home page: dark hero, logo strip, statement, two-column feature cells with violet media, testimonials, sponsor grid, violet CTA band, dark footer.
## Colors
### Brand & Accent
- **Vite Violet** (`{colors.primary}` — #6b1eb9): docs links, the active "Guide" nav item, the active sidebar item, blog post titles, pager titles, "Suggest changes" and inline code text.
- **On Violet** (`{colors.on-primary}` — #ffffff): text set on the violet texture and violet fills.
- **Sponsor Pink** (`{colors.sponsor-pink}` — #db2777): the heart icon and "Sponsor" label at the foot of team member cards.
### Surface
- **Canvas** (`{colors.canvas}` — #16171d): the marketing page, header and footer background, and the dark fill of the hero button.
- **Surface** (`{colors.surface}` — #14121a): testimonial cards, the hero install tabs and code body, and the dark search button.
- **Hairline** (`{colors.hairline}` — #3b3440): every section rule, cell divider, header bottom border, card border and button outline on the dark page.
- **Hairline Soft** (`{colors.hairline-soft}` — #2e2e32): the border of the "⌘ K" key cap inside search.
- **Docs Canvas** (`{colors.docs-canvas}` — #ffffff): the page background of guide, team and blog pages.
- **Docs Surface** (`{colors.docs-surface}` — #f6f6f7): code blocks, code-group tab bars, docs search, table headers and team member cards.
- **Docs Callout** (`{colors.docs-callout}` — #eff0f3): the Scrimba tip, collapsible details, inline code and the appearance switch track.
- **Docs Note** (`{colors.docs-note}` — #eadff5): violet-tinted "Compatibility Note" and "Dependencies using Vite" blocks.
- **Docs Sponsor Tile** (`{colors.docs-sponsor-tile}` — #f2f2f2): the sponsor logo tiles in the docs and blog right rail.
- **Docs Hairline** (`{colors.docs-hairline}` — #e2e2e3): h2 rules, table borders, blog row dividers, pager card borders.
- **Docs Header Line** (`{colors.docs-header-line}` — #e5e4e7): the bottom border of the white header.
- **Docs Control Line** (`{colors.docs-control-line}` — #c2c2c4): the 1px border of the appearance switch.
### Text
- **Ink** (`{colors.ink}` — #ffffff): headlines, nav labels, footer links and button labels on the dark page.
- **Ink Soft** (`{colors.ink-soft}` — #b9b9bb): the 70% white hero subtitle, community intro and testimonial quotes.
- **Ink Muted** (`{colors.ink-muted}` — #867e8e): feature descriptions, stat labels, testimonial names, copyright and the docs "On this page" title.
- **Ink Subtle** (`{colors.ink-subtle}` — #98989f): footer column headers, inactive install tabs, search label and social icons.
- **Docs Ink** (`{colors.docs-ink}` — #000000): docs body copy, headings and blog dates.
- **Docs Ink Soft** (`{colors.docs-ink-soft}` — #3c3c43): callout text, sidebar group headings and the active code tab label.
- **Docs Ink Muted** (`{colors.docs-ink-muted}` — #67676c): sidebar links, outline links, team subtitles and code-block language labels.
## Typography
### Font Family
APK Protocol carries headlines, nav labels and docs headings. Inter is the reading and UI face: body, buttons, tabs, search. KH Teka Mono sets uppercase eyebrows, testimonial handles and every code sample.
### Hierarchy
| Token | Size | Weight | Line height | Letter spacing | Use |
|---|---|---|---|---|---|
| `display` | 60px | 500 | 67.2px | -3px | "The Build Tool for the Web" |
| `heading-section` | 48px | 500 | 48px | -1.2px | Centred statements, stats, CTA band |
| `heading-page` | 48px | 500 | 56px | -0.5px | "Meet the Team" |
| `heading-sub` | 40px | 500 | 53.33px | -1px | "Loved by the community", "Free & open source" |
| `docs-h1` | 32px | 600 | 40px | -0.64px | Docs and blog page titles |
| `heading-feature` | 24px | 500 | 28px | 0 | Feature cell titles |
| `docs-h2` | 24px | 600 | 32px | -0.48px | Docs section headings |
| `post-title` | 22px | 600 | 32px | -0.44px | Blog list titles |
| `member-name` | 20px | 600 | 28px | 0.15px | Team member names |
| `nav-link` | 16px | 400 | 24px | 0 | Header links |
| `sidebar-heading` | 14px | 700 | 24px | 0 | Sidebar group titles |
| `lead` | 20px | 500 | 28px | 0.15px | Team page intro |
| `body-lg` | 18px | 400 | 28px | 0 | Hero subtitle, feature descriptions |
| `body` | 16px | 400 | 28px | 0 | Docs body |
| `quote` | 16px | 400 | 26px | 0 | Testimonial quotes |
| `button` | 16px | 500 | 22.4px | 0 | Buttons |
| `ui-sm` | 14px | 500 | 24px | 0 | Sidebar links, Sponsor, pager title |
| `tab-label` | 14px | 500 | 48px | 0 | Package-manager tabs |
| `search` | 14px | 400 | 14px | 0 | Search buttons |
| `outline-link` | 13px | 400 | 28px | 0 | "On this page" links |
| `caption` | 12px | 500 | 20px | 0 | "Next page", language labels |
| `eyebrow` | 12px | 400 | 16px | 0.3px | Uppercase mono labels |
| `mono-handle` | 14px | 400 | 20px | 0 | Testimonial names and handles |
| `code` | 14px | 400 | 23.8px | 0 | Docs code |
| `code-hero` | 16px | 400 | 22.4px | 0 | Hero install command |
### Principles
Headlines stay at weight 500 on marketing and 600 in docs, never bold display, with tracking tightened in proportion to size, from -3px at 60px down to zero at 24px. Hierarchy comes from size and color contrast: white heads over 70% white or warm-grey copy. Mono is reserved for labels, handles and code, set uppercase only on 12px eyebrows.
### Note on Font Substitutes
APK Protocol and KH Teka Mono are commercial faces. Inter Tight at 500 is a close open alternative for APK Protocol headlines; JetBrains Mono at 400 stands in for KH Teka Mono. Inter is open and used as is.
## Layout
### Spacing System
- **Base unit**: 8px with 4px and 12px steps; component padding sits at 8px 16px for buttons and 40px 32px for cards.
- **Section padding**: `{spacing.section}` (112px) vertical with 40px sides on statement sections; 120px on testimonial and sponsor sections.
### Grid & Container
The marketing page is a full-width frame with 1px vertical side rules, split into two equal columns for feature cells and a three-column masonry for testimonials. Docs use a 272px sidebar, a 688px content column and a 191px outline rail.
### Whitespace Philosophy
Each statement section is mostly empty: one centred headline in a 361px-tall cell. Space, not cards, separates ideas, and hairlines show where one cell ends.
### Responsive Strategy
#### Breakpoints
| Name | Width | Behavior |
|---|---|---|
| Wide | 1440px | Full frame, side rules visible |
| Desktop | 1280px | Docs show sidebar, content and outline |
| Laptop | 1024px | Outline rail drops in docs |
| Tablet | 960px / 768px | Sidebar becomes a drawer; feature cells stack |
| Mobile | 640px / 375px | Single column, gutters to 20px |
#### Touch Targets
Buttons and search are 38px tall; nav links are 40px; code tabs 49px and the Sponsor strip 52px.
#### Collapsing Strategy
Two-column feature rows stack with media below copy; the testimonial masonry falls to one column; header links fold into a menu.
#### Image Behavior
Violet media panels bleed edge to edge inside their cell; avatars stay fixed squares or circles.
## Elevation & Depth
| Level | Treatment | Use |
|---|---|---|
| 0 | Flat, 1px `{colors.hairline}` rules | Marketing sections, cells, cards |
| 1 | Inset 0 -1px 0 line | Code-group tab bars |
| 2 | 0 12px 32px rgba(0,0,0,0.1) + 0 2px 6px rgba(0,0,0,0.08) | Team avatars |
### Decorative Depth
Depth on the home page comes from isometric diamond illustrations with violet glow and from one grainy, diagonally light-streaked electric-violet image: bright at the top, fading to a deep indigo below. It fills the feature media panels and the closing `cta-band` edge to edge and forms the 3px ring of `button-primary-glow`. It is a photographic texture, not a flat color, and never sits behind docs text.
## Shapes
### Border Radius Scale
| Token | Value | Use |
|---|---|---|
| `{rounded.none}` | 0px | Sections, cells, bands, tables |
| `{rounded.xs}` | 4px | Inline code, testimonial avatars, key caps |
| `{rounded.sm}` | 8px | Buttons, search, cards, code blocks, callouts |
| `{rounded.md}` | 11px | Violet button ring, appearance switch |
| `{rounded.lg}` | 12px | Team cards, docs sponsor rail |
| `{rounded.full}` | 9999px | Team avatars |
### Photography Geometry
Testimonial avatars are 48px squares at `{rounded.xs}`; team avatars are 96px circles with a soft shadow. Sponsor logos sit monochrome in square grid cells.
## Components
### Buttons
**`button-primary-glow`** — "Get Started" in the hero, the main call to action.
- `{colors.canvas}` fill, `{colors.ink}` label in `{typography.button}`, `{rounded.sm}`, padding 8px 16px, 38px tall. A 3px violet-texture ring at `{rounded.md}` surrounds it, the only glowing control on the page.
**`button-outline`** — "View on GitHub" beside the hero button and "Become a Sponsor" in the open-source section.
- `{colors.canvas}` fill behind a 1px `{colors.hairline}` outline, `{colors.ink}` label in `{typography.button}`, `{rounded.sm}`, padding 8px 16px, 38px tall; no ring or icon.
**`button-white`** — "Get Started" centred in the violet closing band.
- `{colors.ink}` fill, `{colors.canvas}` label in `{typography.button}`, `{rounded.sm}`, padding 8px 16px, 38px tall. It is the only solid light button on the site.
**`button-search`** — "Search ⌘ K" in the dark header.
- `{colors.surface}` fill, `{colors.ink-subtle}` label in `{typography.search}`, `{rounded.sm}`, padding 8px 12px, 38px tall, 135px wide, magnifier left, key cap with a 1px `{colors.hairline-soft}` border.
**`button-search-docs`** — "Search ⌘ K" in the white docs header.
- `{colors.docs-surface}` fill, `{colors.docs-ink-muted}` label in `{typography.search}`, `{rounded.sm}`, padding 8px 12px, 38px tall; otherwise identical to `button-search`.
**`button-sponsor`** — "Sponsor" across the bottom of a team member card.
- `{colors.docs-surface}` fill, `{colors.sponsor-pink}` label and heart icon in `{typography.ui-sm}`, square corners clipped by the card, padding 16px, 52px tall, full card width, separated by a white line.
**`toggle-appearance`** — the light/dark switch in the docs header.
- `{colors.docs-callout}` track with a 1px `{colors.docs-control-line}` border, `{rounded.md}`, 40px wide and 22px tall, a white knob holding a sun icon at the left.
### Cards & Containers
**`feature-cell`** — "Instant Server Start", "Lightning Fast HMR" and the other feature halves.
- `{colors.canvas}` fill, `{colors.ink}` title in `{typography.heading-feature}`, square corners, padding 40px, description in `{typography.body-lg}` `{colors.ink-muted}`. Cells meet on 1px `{colors.hairline}` rules, two per row.
**`feature-media-panel`** — the violet panels under feature copy holding terminal and code mockups.
- Filled edge to edge with the grainy violet texture from Decorative Depth, square corners, full cell width. A near-black window mockup with mono text floats centred inside.
**`testimonial-card`** — quotes in the "Loved by the community" masonry.
- `{colors.surface}` fill, 1px `{colors.hairline}` border, `{rounded.sm}`, padding 40px 32px, quote in `{typography.quote}` `{colors.ink-soft}`, then a 48px avatar, name in `{typography.mono-handle}` `{colors.ink-muted}` and handle in `{colors.ink}`.
**`stat-block`** — "80k+ Github Stars" and "80m+ Weekly NPM downloads" beside the community heading.
- `{colors.ink}` number in `{typography.heading-section}`, label below in `{typography.body-lg}` `{colors.ink-muted}`, a GitHub icon before "Github Stars"; two blocks side by side, no frame.
**`sponsor-grid-cell`** — logo cells under "IN PARTNERSHIP WITH", "PLATINUM SPONSORS" and "GOLD SPONSORS".
- `{colors.canvas}` fill, square corners, 1px `{colors.hairline}` dividers; tier labels in `{typography.eyebrow}` `{colors.ink-subtle}` uppercase. Partners sit three per row, gold five per row in shorter cells.
**`cta-band`** — "Start building with Vite" above the footer.
- The violet texture from Decorative Depth as its fill, `{colors.ink}` headline in `{typography.heading-section}`, square corners, padding 120px 0px, centred; a two-line `{typography.body-lg}` subtitle and a `button-white` follow.
**`team-member-card`** — each person on "Meet the Team".
- `{colors.docs-surface}` fill, `{colors.docs-ink}` name in `{typography.member-name}`, `{rounded.lg}`, padding 48px 32px, centred: `team-avatar`, role in `{colors.docs-ink-muted}`, bio, social icons, `button-sponsor`. Three per row; advisors and emeriti are smaller.
**`team-avatar`** — the portrait at the top of each member card.
- A 96px circle at `{rounded.full}` with the level 2 double shadow, centred above the name. Emeriti cards use the same circle at a smaller size.
**`pager-card`** — "Next page Philosophy" at the end of a guide page.
- `{colors.docs-canvas}` fill, 1px `{colors.docs-hairline}` border, `{rounded.sm}`, padding 11px 16px 13px, 66px tall, right-aligned "Next page" in `{typography.caption}` muted above a `{colors.primary}` title in `{typography.ui-sm}`.
**`callout-tip`** — "Learn Vite through interactive tutorials on Scrimba".
- `{colors.docs-callout}` fill, `{colors.docs-ink-soft}` text in `{typography.button}`, `{rounded.sm}`, padding 16px 20px, 60px tall, a violet play icon before an underlined `{colors.primary}` link.
**`callout-note`** — "Compatibility Note" and "Dependencies using Vite".
- `{colors.docs-note}` fill, `{colors.docs-ink-soft}` text in `{typography.ui-sm}`, `{rounded.sm}`, padding 16px 16px 8px, a 16px weight-600 title line above body with underlined violet links.
**`details-block`** — "Using create vite with command line options".
- `{colors.docs-callout}` fill, `{colors.docs-ink-soft}` text in `{typography.ui-sm}`, `{rounded.sm}`, padding 16px 16px 8px, a bold 14px summary with a disclosure triangle; collapsed it is 58px tall.
**`aside-sponsor-tile`** — the logo tiles in the docs and blog right rail.
- `{colors.docs-sponsor-tile}` fill, 96px tall, stacked inside a group clipped to `{rounded.lg}`, each holding one centred monochrome sponsor logo.
**`docs-table`** — the template presets table on Getting Started.
- `{colors.docs-canvas}` cells with `{colors.docs-ink}` text in `{typography.ui-sm}`, square corners, padding 8px 16px, 1px `{colors.docs-hairline}` borders; header cells and even rows take `{colors.docs-surface}`; cell entries are underlined violet links.
**`blog-post-row`** — each entry on "Latest From the Vite Blog".
- `{colors.docs-canvas}` row, `{colors.primary}` title in `{typography.post-title}`, square corners, a 14px `{colors.docs-ink}` date above and a 1px `{colors.docs-hairline}` rule below; rows are about 78px tall.
### Inputs & Forms
**`code-block-docs`** — fenced code in guide pages.
- `{colors.docs-surface}` fill, `{colors.docs-ink-muted}` base text in `{typography.code}`, `{rounded.sm}`, padding 0px 24px per line, a `{typography.caption}` language label top-right; syntax colors are content.
**`inline-code`** — `index.html`, `vite` and other code words in prose.
- `{colors.docs-callout}` fill, `{colors.primary}` text in `{typography.code}`, `{rounded.xs}`, padding 3px 6px, 24px tall within the 28px body line.
### Navigation
**`top-bar-dark`** — the home header: VITE wordmark, "Guide", "Config", "Plugins", "Resources", "v8.4.0".
- `{colors.canvas}` fill, `{colors.ink}` links in `{typography.nav-link}`, padding 20px 24px, 81px tall, 1px `{colors.hairline}` bottom rule; `button-search`, a language menu and five social icons sit right.
**`top-bar-docs`** — the same header on guide, team and blog pages.
- `{colors.docs-canvas}` fill, `{colors.canvas}` links in `{typography.nav-link}`, padding 20px 24px, 81px tall, 1px `{colors.docs-header-line}` bottom rule; the current section turns `{colors.primary}`; adds `toggle-appearance`.
**`docs-sidebar`** — "Introduction" and "Guide" link groups at the left of docs.
- `{colors.docs-canvas}` fill, `{colors.docs-ink-muted}` links in `{typography.ui-sm}`, padding 20px 32px 96px, 272px wide; group titles in `{typography.sidebar-heading}`, the current page in `{colors.primary}`.
**`docs-outline`** — "ON THIS PAGE" at the right of docs.
- `{colors.docs-ink-muted}` links in `{typography.outline-link}`, 191px wide, title in 12px uppercase Inter with 0.3px tracking in `{colors.ink-muted}`; sponsor tiles stack beneath.
**`footer`** — columns "VITE", "RESOURCES", "VERSIONS", "SOCIAL" under the CTA band.
- `{colors.canvas}` fill, `{colors.ink}` links in `{typography.body}`, headers in `{typography.eyebrow}` `{colors.ink-subtle}`; the copyright row has padding 20px 96px, a top hairline and 14px `{colors.ink-muted}` text.
### Signature Components
**`install-tabs`** — the npm, Yarn, pnpm, Bun, Deno switcher under the hero buttons.
- `{colors.surface}` tab bar, `{colors.ink}` active label in `{typography.tab-label}`, `{rounded.sm}` top corners, padding 0px 12px, 49px tall, a violet underline on the active tab, inactive labels `{colors.ink-subtle}`; the command below sets in `{typography.code-hero}`.
**`section-frame`** — the ruled container behind every home section.
- `{colors.canvas}` fill, `{colors.ink}` centred statement in `{typography.heading-section}`, padding 112px 40px, 1px `{colors.hairline}` top border and side rules, with small tick marks where rules cross.
**`logo-strip`** — "Trusted by the world's best software teams" under the hero.
- `{colors.canvas}` fill, `{colors.ink}` label in `{typography.body}`, padding 32px 40px, then a row of six monochrome logos (OpenAI to Wiz) in equal cells split by `{colors.hairline}` rules.
**`edit-link`** — "Suggest changes to this page" at the end of docs content.
- `{colors.primary}` text in `{typography.ui-sm}`, 32px tall, a pencil icon before the label, no underline, above a `{colors.docs-hairline}` rule and the `pager-card`.
## Do's and Don'ts
### Do
- Frame every home section with 1px `{colors.hairline}` rules on `{colors.canvas}`, as `section-frame` does, and leave the interior mostly empty.
- Use the grainy violet texture for `feature-media-panel`, the `cta-band` and the ring of `button-primary-glow` only.
- Keep all buttons 38px tall at `{rounded.sm}` with `{typography.button}`.
- Set headlines in APK Protocol at weight 500 with negative tracking, copy in Inter, labels in uppercase `{typography.eyebrow}`.
- Mute supporting text to `{colors.ink-soft}` or `{colors.ink-muted}` so white headlines lead.
- In docs, use `{colors.primary}` for every link, active nav item, `inline-code` text and `blog-post-row` title.
- Put docs asides in `callout-tip`, `callout-note` or `details-block` at `{rounded.sm}`.
### Don't
- Don't fill a button with flat violet; the brand violet is a texture or a docs text color.
- Don't float rounded cards on the dark canvas without hairlines; only `testimonial-card` carries a radius there.
- Don't add drop shadows to marketing elements; elevation is reserved for `team-avatar`.
- Don't use `{colors.sponsor-pink}` anywhere but `button-sponsor`.
- Don't set body copy in APK Protocol or mono; Inter at `{typography.body}` reads in docs.
- Don't mix the white docs palette into the dark home page; `docs-*` tokens belong to the VitePress shell.
- Don't round sections or bands; `cta-band` and `feature-media-panel` stay square.
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 Vite 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 Vite design reference uses dark hairline-ruled cells, grainy electric-violet texture. It works best for developer tool sites, framework documentation, and technical team pages.
Installs
—
Bookmarked
—
Independent analysis of publicly observable patterns, curated as a starting point for inspiration. Not affiliated with or endorsed by Vite; Vite and its logo are trademarks of their respective owner.
Preview
Vite DESIGN.md FAQ
How do I use the Vite DESIGN.md with Claude Code, Cursor, or Codex?
Run npx getdesign@latest add vite from your project root, then ask your AI assistant to use DESIGN.md for UI work.
What does the Vite DESIGN.md cover?
It covers overview, colors, typography, layout, elevation & depth, shapes, components, and do's and don'ts.
Is this an official Vite 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 Vite.
Similar DESIGN.md files
Netlify
Web deployment platform. Large rounded white stages, tight Systemia headlines, electric-cyan pill.
Cursor
AI-first code editor. Warm cream editorial canvas, single orange accent.
Expo
React Native platform. Pure white canvas, sky-blue gradient wash, black CTAs.
Lovable
AI full-stack builder. Creamy parchment background, warm restraint.