Design system do rivian.com

Rivian: Electric Vehicles Designed For Adventure

rivian.commodo claro773 elementos medidosmedido há 4 horas
Visitar rivian.com

rivian.com usa Adventure na tipografia e #000000 como cor de destaque. Medido em 28 de setembro de 2026.

Use com a sua IAtambém no zip como README.md e PROMPT.md

  1. .
  2. Descompacte o pacote no seu projeto para que a pasta fique em design/rivian.com-design-pack/.
  3. Opcional: copie também a pasta para .claude/skills/rivian-com-design/. O SKILL.md dentro dela faz o Claude Code carregar o pacote sozinho sempre que criar uma interface.
  4. Cole o prompt abaixo no Claude Code e preencha com o que você quer criar.
Prompt

O prompt fica em inglês: ele cita os arquivos do pacote, e sua IA o entende em qualquer idioma.

Use the design pack in `design/rivian.com-design-pack/` as the source of truth for how the UI looks and behaves. It was measured from https://rivian.com/.

1. Read DESIGN.md (colours, type, spacing, radii, shadows, components) and BEHAVIOR.md (hover, focus, tooltips, menus, motion, scrolling, forms, responsive rules) before writing any code.
2. Look at every image in `design/rivian.com-design-pack/screenshots/` and match the composition, density, whitespace and image treatment. Tokens do not carry those; the screenshots do.
3. Style everything with `design/rivian.com-design-pack/tokens.css` (or `tailwind.css` if this project uses Tailwind v4). Do not invent colours, radii, shadows or font sizes that are not in the pack.
4. Load the fonts named in DESIGN.md. Where a font is not freely available, use the stand-in it names at the same sizes and weights.
5. Match the breakpoints and hover, focus and motion rules in BEHAVIOR.md. The site has no dark mode, so do not add one.

Now build: [describe the page or app you want]

When you are done, compare the result with the screenshots at desktop and phone widths, fix the biggest visual difference first, and repeat.

Cores10 tokens

background
#f2f2f2
surface
#9fa1b8
surface-2
#ffffff
surface-3
#cbcbcb
foreground
#ffffff
muted-foreground
#000000
primary
#000000
on-primary
#ffffff
secondary
#ffaa00
border
#e8e8e8

Espaçamentounidade de 4px

4812162028324080
Largura do conteúdo
1280px
Breakpoints
480, 640, 768, 1024, 1440px

Raio

botão 9999pxcampo 4pxcard 0pximagem 0px

Sombras2

1
2

Tipografia1 família

Adventurehospedagem própria, substituta Inter
headline-displayQuick brown fox72px / 600 / lh 1 / -3px
headline-lgQuick brown fox72px / 600 / lh 1 / -1.8px
headline-mdQuick brown fox24px / 600 / lh 1.4
body-mdThe quick brown fox jumps over the lazy dog16px / 400 / lh 1.25
label-mdThe quick brown fox jumps over the lazy dog11px / 400 / lh 1.55
buttonThe quick brown fox jumps over the lazy dog14px / 500 / lh 1.14 / -0.5px
Tamanhos em uso
1011121416202432445672

Componentes

VehiclesDemo driveExploreEndereço de e-mail
botão ghost
texto #000000 sobre transparente sobre #ffffff, r 9999px, h 32px, 14px/600
botão secondary
texto #000000 sobre #ffaa00, r 9999px, h 32px, 14px/600
botão primary
texto #ffffff sobre #000000, r 40px, h 56px, 16px/500
campo
h 56px, 0px solid #ffffff, r 4px
link
#ffffff, sem sublinhado, 500
cabeçalho
56px, relative, 3 links em 10px
h1
72px / 600, alinhamento center, máx. 462px
formulários
1 forms, 6 inputs. Required markers: 2. Help texts: 0. Submit button is content-width. Label placement: floating (2).
ícones
Icons: 13 inline SVGs, filled, sizes 16px/14px/20px/36px, stroke 2/1.5; icon font classes icon-.

Interação e movimento

  • button primary "Demo drive": background #ffaa00 → #ffbd2e
  • button secondary "Have a question?": background oklch(0.96 0 0) → oklch(0.92 0 0)
  • body link "Shop now": sem mudança no hover
  • foco button primary: no visible focus style measured (may rely on :focus-visible with keyboard only)
  • foco body link: no visible focus style measured (may rely on :focus-visible with keyboard only)
  • tooltips: Tooltip triggers exist (3 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
  • menus: 1 aria-haspopup triggers exist; none opened on hover (click-to-open menus).
  • movimento: 64 elements carry transitions; typical 0.3s with cubic-bezier(0.83, 0, 0.17, 1), mostly on background-color, color, border-color. 2 running keyframe animations (fadeIn 0.3s 1; sierra-pulse 0.3s 1). No scroll-reveal: content is visible without scrolling into view.

Tema

No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.

Responsivo1440 / 1024 / 768 / 390 px

rivian.com em 1440 pixels
1440px
rivian.com em 1024 pixels
1024px
rivian.com em 768 pixels
768px
rivian.com em 390 pixels
390px
ViewportConteúdoGutterCorpoH1CabeçalhoHeroGridsBotões
desktop 14401280px120px10px72px, 1 line, center56px, 1 links, 3 CTAmedia behind/overlapping text3→3 col; 3→2 col; 2→1 colcontent-width
laptop 1024864px120px10px72px, 1 line, center56px, 1 links, 3 CTAmedia behind/overlapping text3→3 col; 3→2 col; 2→1 colcontent-width
tablet 768680px121px10px56px, 1 line, center50px, hamburger (Open), 1 CTAmedia behind/overlapping text3→3 col; 3→2 col; 2→1 colcontent-width
phone 390350px16px10px44px, 1 line, center50px, hamburger (Open), 1 CTAmedia behind/overlapping text3→1 col; 2→1 col; 2→1 colcontent-width
  • H1 goes 72px → 44px (61%), 1 → 1 lines.
  • Nav collapses to a hamburger by 390px (first seen at 768px); header 56px → 50px.
  • Body text stays 10px at every width.
  • Phone side gutter 16px.

Arquivos no pacote14 arquivos

DESIGN.md
Formato DESIGN.md do Google; Stitch, Claude Code e Cursor o leem
9,5 kB
tokens.json
Design tokens W3C (DTCG) para Style Dictionary e plugins do Figma
10 kB
tokens.css
Os mesmos valores como variáveis CSS
1,5 kB
tailwind.css
Bloco @theme do Tailwind v4
828 bytes
SKILL.md
Skill do Claude Code / Cursor que organiza o pacote em sequência para o agente
2 kB
BEHAVIOR.md
Hover, foco, tooltips, menus, movimento, rolagem, tabelas, formulários, texto, responsivo, modo escuro, stack
9,4 kB
evidence.json
Medições brutas por trás dos dois documentos (cada viewport, sonda e regra)
66 kB
screenshots/
desktop-1440-fold.png, desktop-1440-full.jpg, laptop-1024-fold.png, tablet-768-fold.png, phone-390-fold.png, phone-390-full.jpg
6 imagens
DESIGN.md240 linhas
---
version: alpha
name: "rivian.com"
description: "Design system extracted from https://rivian.com/ on 2026-09-28"
colors:
  background: "#f2f2f2"
  surface: "#9fa1b8"
  surface-2: "#ffffff"
  surface-3: "#cbcbcb"
  foreground: "#ffffff"
  muted-foreground: "#000000"
  primary: "#000000"
  on-primary: "#ffffff"
  secondary: "#ffaa00"
  border: "#e8e8e8"
typography:
  headline-display:
    fontFamily: "Adventure"
    fontSize: "72px"
    fontWeight: 600
    lineHeight: "1"
    letterSpacing: "-3px"
  headline-lg:
    fontFamily: "Adventure"
    fontSize: "72px"
    fontWeight: 600
    lineHeight: "1"
    letterSpacing: "-1.8px"
  headline-md:
    fontFamily: "Adventure"
    fontSize: "24px"
    fontWeight: 600
    lineHeight: "1.4"
  body-md:
    fontFamily: "Adventure"
    fontSize: "16px"
    fontWeight: 400
    lineHeight: "1.25"
  label-md:
    fontFamily: "Adventure"
    fontSize: "11px"
    fontWeight: 400
    lineHeight: "1.55"
  button:
    fontFamily: "Adventure"
    fontSize: "14px"
    fontWeight: 500
    lineHeight: "1.14"
    letterSpacing: "-0.5px"
rounded:
  none: "0px"
  full: "9999px"
  sm: "4px"
  2xl: "99px"
  xl: "20px"
spacing:
  unit: "4px"
  1: "4px"
  2: "8px"
  3: "12px"
  4: "16px"
  5: "20px"
  6: "28px"
  7: "32px"
  8: "40px"
  9: "80px"
components:
  button-ghost:
    backgroundColor: "#ffffff"
    textColor: "#000000"
    typography: "{typography.button}"
    rounded: "9999px"
    height: "32px"
    padding: "8px 12px"
  button-secondary:
    backgroundColor: "#ffaa00"
    textColor: "#000000"
    typography: "{typography.button}"
    rounded: "9999px"
    height: "32px"
    padding: "8px 16px"
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.button}"
    rounded: "40px"
    height: "56px"
    padding: "8px 16px"
  input:
    backgroundColor: "#212121"
    rounded: "4px"
    height: "56px"
---

# rivian.com

## Overview

Rivian: Electric Vehicles Designed For Adventure: Discover Rivian's long-range electric vehicles, innovative EV trucks, SUVs and vans built for adventure. Join the movement towards a sustainable future.

Pill-shaped controls, layered shadows for depth, large display type at 72px / 600, a single neutral accent on neutrals. The site ships in light mode by default. Measured from 773 rendered elements at 1440px wide on 2026-09-28.

Reference screenshots live beside this file; look at them before writing any layout, they carry the composition, density and image treatment that tokens cannot:

- `screenshots/desktop-1440-fold.png`: Desktop 1440, above the fold
- `screenshots/desktop-1440-full.jpg`: Desktop 1440, full page
- `screenshots/laptop-1024-fold.png`: Laptop 1024, above the fold
- `screenshots/tablet-768-fold.png`: Tablet 768, above the fold
- `screenshots/phone-390-fold.png`: Phone 390, above the fold
- `screenshots/phone-390-full.jpg`: Phone 390, full page

## Colors

| Token | Value | Use |
| --- | --- | --- |
| background | `#f2f2f2` | Page background |
| surface | `#9fa1b8` | Cards, panels, raised or recessed surfaces |
| surface-2 | `#ffffff` | Secondary surface |
| surface-3 | `#cbcbcb` | Secondary surface |
| foreground | `#ffffff` | Primary text |
| muted-foreground | `#000000` | Secondary text, captions |
| primary | `#000000` | Accent: primary buttons, links, focus |
| on-primary | `#ffffff` | Text on the accent |
| secondary | `#ffaa00` | Secondary accent (amber) |
| border | `#e8e8e8` | Hairlines, dividers, input borders |

Full painted palette by area (largest first): `#f2f2f2`, `#9fa1b8`, `#000000`, `#212121`, `#ffffff`, `#ffac00`, `#629b5c`, `#e84826`.

Gradients in use: `linear-gradient(rgb(0, 0, 0) 0%, rgb(93, 118, 125) 100%)`; `linear-gradient(rgb(31, 33, 33) 0%, rgb(37, 40, 38) 100%)`; `linear-gradient(rgb(242, 242, 242) 0%, rgb(139, 168, 189) 100%)`.

The accent `#000000` is used sparingly: primary buttons, links and focus rings. Everything else stays neutral.

## Typography

- **Adventure** for h1, h2, body, label, button: self-hosted webfont, not freely available; use **Inter** from Google Fonts as the stand-in.

| Role | Family | Size | Weight | Line height | Tracking |
| --- | --- | --- | --- | --- | --- |
| headline-display | Adventure | 72px | 600 | 1 | -3px |
| headline-lg | Adventure | 72px | 600 | 1 | -1.8px |
| headline-md | Adventure | 24px | 600 | 1.4 | normal |
| body-md | Adventure | 16px | 400 | 1.25 | normal |
| label-md | Adventure | 11px | 400 | 1.55 | normal |
| button | Adventure | 14px | 500 | 1.14 | -0.5px |

Type scale in use: 10px, 11px, 12px, 14px, 16px, 20px, 24px, 32px, 44px, 56px, 72px. Base body size 16px.

The H1 renders at 72px / 600, center aligned, up to 462px wide, tracking -3px. Sample: "Find your Rivian".

## Layout

- Spacing unit: 4px. Scale in use: 4, 8, 12, 16, 20, 28, 32, 40, 80 (px).
- Flex and grid gaps: 4, 8, 12, 16, 20, 32, 40, 48 px.
- Content max width: 1280px, centred.
- Breakpoints: 480px, 640px, 768px, 1024px, 1440px.
- Header: 56px tall, relative, background `rgb(255, 255, 255)`, bottom hairline 1px solid rgba(209, 209, 209, 0.5); 3 nav links at 10px / 400 (Demo drive).

## Elevation & Depth

Shadows in use, most common first:

- shadow-1: `rgba(0, 0, 0, 0.15) 0px 2px 8px 0px`
- shadow-2: `rgb(159, 161, 184) 0px 0px 10px 0px`

## Shapes

- Buttons: 9999px
- Inputs: 4px
- Cards and panels: 0px
- Images and media: 0px
- Radius scale: none 0px, full 9999px, sm 4px, 2xl 99px, xl 20px

## Components

### Button, ghost

Background transparent (it sits on `#ffffff`, so place it on that colour), text `#000000`, border none, radius 9999px, height 32px, padding 8px 12px, 14px / 600. Sample label: "Vehicles".

### Button, secondary

Background `#ffaa00`, text `#000000`, border none, radius 9999px, height 32px, padding 8px 16px, 14px / 600. Sample label: "Demo drive".

### Button, primary

Background `#000000`, text `#ffffff`, border none, radius 40px, height 56px, padding 8px 16px, 16px / 500. Sample label: "Explore".

### Input

Height 56px, background `#212121`, border 0px solid #ffffff, radius 4px, 16px text, padding 20px 16px.

### Link

Colour `#ffffff`, no underline at rest, weight 500.

## Dark Mode

No dark mode responded to prefers-color-scheme, a theme toggle, or a root class/attribute.

## Responsive Behavior

| Viewport | Content width | Gutter | Body | H1 | Header | Hero | Grids | Buttons |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| desktop 1440px | 1280px | 120px | 10px | 72px, 1 line, center | 56px, 1 links, 3 CTA | media behind/overlapping text | 3→3 col; 3→2 col; 2→1 col | content-width |
| laptop 1024px | 864px | 120px | 10px | 72px, 1 line, center | 56px, 1 links, 3 CTA | media behind/overlapping text | 3→3 col; 3→2 col; 2→1 col | content-width |
| tablet 768px | 680px | 121px | 10px | 56px, 1 line, center | 50px, hamburger (Open), 1 CTA | media behind/overlapping text | 3→3 col; 3→2 col; 2→1 col | content-width |
| phone 390px | 350px | 16px | 10px | 44px, 1 line, center | 50px, hamburger (Open), 1 CTA | media behind/overlapping text | 3→1 col; 2→1 col; 2→1 col | content-width |

- H1 goes 72px → 44px (61%), 1 → 1 lines.
- Nav collapses to a hamburger by 390px (first seen at 768px); header 56px → 50px.
- Body text stays 10px at every width.
- Phone side gutter 16px.

## Interaction & Motion

64 elements carry transitions; typical 0.3s with cubic-bezier(0.83, 0, 0.17, 1), mostly on background-color, color, border-color. 2 running keyframe animations (fadeIn 0.3s 1; sierra-pulse 0.3s 1).

- Hover on button-primary ("Demo drive"): background #ffaa00 → #ffbd2e; cursor pointer; transition color, background-color, border-color, text-decoration-color, fill, stroke | 0.15s | cubic-bezier(0.83, 0, 0.17, 1).
- Hover on button-secondary ("Have a question?"): background oklch(0.96 0 0) → oklch(0.92 0 0); cursor pointer; transition color, background-color, border-color, text-decoration-color, fill, stroke | 0.15s | cubic-bezier(0.83, 0, 0.17, 1).
- Hover on body-link ("Shop now"): no visible change; cursor pointer; transition color, background-color, border-color, text-decoration-color, fill, stroke | 0.3s | cubic-bezier(0.83, 0, 0.17, 1).
- Focus on button-primary: no visible focus style measured (may rely on :focus-visible with keyboard only).
- Focus on body-link: no visible focus style measured (may rely on :focus-visible with keyboard only).
- Tooltip triggers exist (3 × title) but none opened on hover in the first viewport; title attributes fall back to the browser's native tooltip.
- 1 aria-haspopup triggers exist; none opened on hover (click-to-open menus).
- No scroll-reveal: content is visible without scrolling into view.
- Portal roots present: modal-root, toast-root, portal-root.

Full detail (every overlay, table, form, scroll and text rule measured) is in `BEHAVIOR.md`; raw evidence in `evidence.json`.

## Do's and Don'ts

- Do use 4px multiples for every padding, margin and gap; the site does not use odd values.
- Do reserve `#000000` for actions and focus; never paint large areas with it.
- Do keep body text at 16px in Adventure.
- Do match corner radii per element class (buttons 9999px, cards 0px); do not pick one radius for everything.
- Do use the measured shadows above; do not invent heavier ones.
- Don't substitute a different accent hue or introduce gradients that are not listed above.
- Don't rebuild from the tokens alone; open the screenshots for composition, density and image treatment.
- Note: The primary action colour is the ink colour (monochrome palette); chromatic colours appear only as small accents.
- Note: Body text contrast is 1.1:1 against the page background (below 4.5:1).
The primary action colour is the ink colour (monochrome palette); chromatic colours appear only as small accents.
Body text contrast is 1.1:1 against the page background (below 4.5:1).