Design System Analysis of Vite

A dark, ruled marketing page where hairline-framed cells, APK Protocol headlines and a grainy electric-violet texture carry the brand, backed by a crisp white VitePress docs shell with one deep violet for every link.

01 — Foundations

Color Palette

Vite Violet · 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 · on-primary

#ffffff

text set on the violet texture and violet fills.

Sponsor Pink · sponsor-pink

#db2777

the heart icon and "Sponsor" label at the foot of team member cards.

Canvas · canvas

#16171d

the marketing page, header and footer background, and the dark fill of the hero button.

Surface · surface

#14121a

testimonial cards, the hero install tabs and code body, and the dark search button.

Hairline · hairline

#3b3440

every section rule, cell divider, header bottom border, card border and button outline on the dark page.

Hairline Soft · hairline-soft

#2e2e32

the border of the "⌘ K" key cap inside search.

Ink · ink

#ffffff

headlines, nav labels, footer links and button labels on the dark page.

Ink Soft · ink-soft

#b9b9bb

the 70% white hero subtitle, community intro and testimonial quotes.

Ink Muted · ink-muted

#867e8e

feature descriptions, stat labels, testimonial names, copyright and the docs "On this page" title.

Ink Subtle · ink-subtle

#98989f

footer column headers, inactive install tabs, search label and social icons.

Docs Canvas · docs-canvas

#ffffff

the page background of guide, team and blog pages.

Docs Surface · docs-surface

#f6f6f7

code blocks, code-group tab bars, docs search, table headers and team member cards.

Docs Callout · docs-callout

#eff0f3

the Scrimba tip, collapsible details, inline code and the appearance switch track.

Docs Note · docs-note

#eadff5

violet-tinted "Compatibility Note" and "Dependencies using Vite" blocks.

Docs Sponsor Tile · docs-sponsor-tile

#f2f2f2

the sponsor logo tiles in the docs and blog right rail.

Docs Hairline · docs-hairline

#e2e2e3

h2 rules, table borders, blog row dividers, pager card borders.

Docs Header Line · docs-header-line

#e5e4e7

the bottom border of the white header.

Docs Control Line · docs-control-line

#c2c2c4

the 1px border of the appearance switch.

Docs Ink · docs-ink

#000000

docs body copy, headings and blog dates.

Docs Ink Soft · docs-ink-soft

#3c3c43

callout text, sidebar group headings and the active code tab label.

Docs Ink Muted · docs-ink-muted

#67676c

sidebar links, outline links, team subtitles and code-block language labels.

02 — Foundations

Typography

APK Protocol carries headlines and nav labels, Inter is the reading and UI face, and KH Teka Mono sets uppercase eyebrows, handles and code; Inter Tight and JetBrains Mono are the open stand-ins.

display
APK Protocol — 60px / 500 / 67.2px / -3px
Vite
heading-section
APK Protocol — 48px / 500 / 48px / -1.2px
Vite
heading-page
APK Protocol — 48px / 500 / 56px / -0.5px
Vite
heading-sub
APK Protocol — 40px / 500 / 53.33px / -1px
Vite
docs-h1
APK Protocol — 32px / 600 / 40px / -0.64px
Vite
heading-feature
APK Protocol — 24px / 500 / 28px / 0
Vite
docs-h2
APK Protocol — 24px / 600 / 32px / -0.48px
Vite
post-title
APK Protocol — 22px / 600 / 32px / -0.44px
The quick brown fox jumps over the lazy dog
member-name
APK Protocol — 20px / 600 / 28px / 0.15px
The quick brown fox jumps over the lazy dog
nav-link
APK Protocol — 16px / 400 / 24px / 0
The quick brown fox jumps over the lazy dog
sidebar-heading
APK Protocol — 14px / 700 / 24px / 0
The quick brown fox jumps over the lazy dog
lead
Inter — 20px / 500 / 28px / 0.15px
The quick brown fox jumps over the lazy dog
body-lg
Inter — 18px / 400 / 28px / 0
The quick brown fox jumps over the lazy dog
body
Inter — 16px / 400 / 28px / 0
The quick brown fox jumps over the lazy dog
quote
Inter — 16px / 400 / 26px / 0
The quick brown fox jumps over the lazy dog
button
Inter — 16px / 500 / 22.4px / 0
The quick brown fox jumps over the lazy dog
ui-sm
Inter — 14px / 500 / 24px / 0
The quick brown fox jumps over the lazy dog
tab-label
Inter — 14px / 500 / 48px / 0
The quick brown fox jumps over the lazy dog
search
Inter — 14px / 400 / 14px / 0
The quick brown fox jumps over the lazy dog
outline-link
Inter — 13px / 400 / 28px / 0
The quick brown fox jumps over the lazy dog
caption
Inter — 12px / 500 / 20px / 0
The quick brown fox jumps over the lazy dog
eyebrow
KH Teka Mono — 12px / 400 / 16px / 0.3px
The quick brown fox jumps over the lazy dog
mono-handle
KH Teka Mono — 14px / 400 / 20px / 0
The quick brown fox jumps over the lazy dog
code
KH Teka Mono — 14px / 400 / 23.8px / 0
The quick brown fox jumps over the lazy dog
code-hero
KH Teka Mono — 16px / 400 / 22.4px / 0
The quick brown fox jumps over the lazy dog
03 — Components

Button Variants

button-primary-glow

Canvas fill, white Inter 500 label, 8px radius, 38px tall, ringed by a 3px violet texture. Hero only.

button-outline

Canvas fill behind a 1px hairline outline; also "Become a Sponsor".

button-white

White fill, canvas label, centred in the violet closing band.

button-search

Surface fill, subtle label, key cap with a soft hairline border.

button-search-docs

Docs surface fill, muted label, in the white header.

button-sponsor
toggle-appearance

40×22 track at 11px with a white knob.

04 — Components

Cards & Surfaces

top-bar-dark · install-tabs · logo-strip
VITEGuideConfigPluginsResources ⌄
BY VOID(Ø)
The Build Tool for the Web

Vite is a blazing fast frontend build tool powering the next generation of web applications.

npmYarnpnpmBunDeno
$ npm create vite@latest
Trusted by the world's best software teams
OpenAI
shopify
stripe
Linear
ClickUp
section-frame · feature-cell · feature-media-panel
Redefining developer experience

Vite makes web development enjoyable again

Instant Server Start

On demand source file serving over native ESM, with blazing fast dependency pre-bundling.

→ Local: http://localhost:5173/
→ press h + enter to show help
Lightning Fast HMR

Instantly reflect changes as you save, no matter how big your app is.

$ vite build
✓ built in 815ms
stat-block · testimonial-card
Loved by the community

Don't take our word for it - listen to what Vite community members have to say.

80k+

Github Stars

80m+

Weekly NPM downloads

Vite is gonna eat the (JavaScript) world.

Christoph Nakazawa
@cpojer

It's also a great platform to build a framework on since it provides a pluggable dev environment.

Mark Dalgleish
@markdalgleish

Every time I suspect I've hit the bounds of what Vite can do, I end up being wrong.

Jason Miller
@_developit
sponsor-grid-cell · cta-band · footer
IN PARTNERSHIP WITH
CLOUDFLARE
bolt
Labs
Start building with Vite

Prepare for a development environment that can finally keep pace with the speed of your mind.

VITE
Guide
Config
Plugins
RESOURCES
Team
Blog
Releases
VERSIONS
Unreleased Docs
Vite 7 Docs
SOCIAL
GitHub
Discord
Bluesky
© 2019-present VoidZero Inc. and Vite contributors.
top-bar-docs · docs-sidebar · callout-tip · code-block-docs · inline-code · callout-note · details-block · docs-table · edit-link · pager-card · docs-outline · aside-sponsor-tile
VITEGuideConfigPlugins
Getting Started
Overview

Vite is opinionated and comes with sensible defaults out of the box. Read about what's possible in the Features Guide and run npx vite.

npmYarnpnpm
bash$ npm create vite@latest
Compatibility Note

Vite requires Node.js version 20.19+, 22.12+.

▸ Using create vite with command line options
JavaScriptTypeScript
vanillavanilla-ts
vuevue-ts
✎ Suggest changes to this page
Next page
Philosophy
team-member-card · team-avatar · button-sponsor
Meet the Team

The development of Vite is guided by an international team.

Evan You
Creator @ Vue.js
Creator of Vue.js and Vite.
Anthony Fu
Open sourceror @ Vercel
Core team member of Vite & Vue.
Bjorn Lu
Open Source Developer
Building tools for fun.
blog-post-row
Latest From the Vite Blog
November 26, 2026
Announcing Vite 8.4
June 23, 2026
Announcing Vite 8.1
June 4, 2026
Cloudflare supports Vite's mission
05 — Components

Form Elements

button-search (search field)

The site has no forms; search opens a dialog from this button.

code-block-docs
npm install -D vite
inline-code

Create an index.html file.

06 — Foundations

Spacing Scale

An 8px base with 4px and 12px steps; buttons pad 8px 16px, cards 40px 32px, and statement sections take 112px vertical padding with 40px sides.

xxs
4px
xs
8px
sm
12px
md
16px
lg
24px
xl
32px
xxl
40px
section
112px
07 — Foundations

Border Radius

Sections and bands stay square; 8px is the working radius for buttons, cards, code blocks and callouts, with 12px only on team cards and the docs sponsor rail.

0px
none
Sections, cells, bands, tables
4px
xs
Inline code, testimonial avatars, key caps
8px
sm
Buttons, search, cards, code blocks, callouts
11px
md
Violet button ring, appearance switch
12px
lg
Team cards, docs sponsor rail
9999px
full
Team avatars
08 — Foundations

Elevation & Depth

Level 0 · flat with 1px hairline rules. Sections, cells, testimonial cards.
Level 1 · inset 0 -1px 0 line. Code-group tab bars.
Level 2 · 0 12px 32px + 0 2px 6px soft double shadow. Team avatars.
09 — Responsive

Responsive Behavior

NameWidthBehavior
Wide1440pxFull frame, side rules visible
Desktop1280pxDocs show sidebar, content and outline
Laptop1024pxOutline rail drops in docs
Tablet960px / 768pxSidebar becomes a drawer; feature cells stack
Mobile640px / 375pxSingle column, gutters to 20px
375
768
1024
1280
1440

Touch targets: buttons and search are 38px tall, nav links 40px, code tabs 49px and the Sponsor strip 52px. Collapsing: two-column feature rows stack with media below copy, the testimonial masonry falls to one column and header links fold into a menu. Images: violet media panels bleed edge to edge inside their cell; avatars stay fixed.