MozaikaLive decode

E2B — decoded design system

e2b.dev · light · modern · custom · deep decode — measured live

E2B's design system, decoded live by Mozaika: measured color roles, type scale, buttons with real hover/focus states, motion and the brand's own tokens.

Open in Mozaika →

This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/decode/e2b.dev.

Decoded design system

E2B's decoded design system: background #FAFAFA, text #333333, accent #3898EC, link #3898EC, primary #0000EE; type scale h1 64px / h2 60px / body 14px; 4px spacing base; 0px base radius. The single interactive/action color is #000000 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#FAFAFA
surface#EEEEEE
border#DCDCDC
text#333333
text_muted#7E7E7E
primary#0000EE
accent#3898EC
link#3898EC
secondary#FF8800
button_bg#000000
button_text#FFFFFF

Using these colors

Typography

Spacing

Radii

Motion

Micro-interactions run at 150ms (dominant) with ease.

Native design tokens

TokenValue
--color--bg-primary#fafafa
--color--content-primary#000
--color--stroke-primary#d6d6d6
--color--content-tertiary#666
--color--brand#f80
--color--content-secondary#333
--color--stroke-primary-hover#b8b8b8
--color--content-quad#999
--color--content-positive#49a147
--color--content-negative#eb361c

…and 46 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: div.h1-flips

Themes

dark counterpart: background #000000, text #333333.

Responsive (measured)

Install it

Drop this measured system into any shadcn/Tailwind project in one command:

npx shadcn add mozaika.design/r/decode/e2b.dev

registry item · or query it over MCP: get_design_system("E2B")

Export: DESIGN.md

# E2B — Design System

> light, modern, medium, custom — deep decode (measured live)

## Colors

| Role | Value |
|------|-------|
| bg | `#FAFAFA` |
| surface | `#EEEEEE` |
| border | `#DCDCDC` |
| text | `#333333` |
| text_muted | `#7E7E7E` |
| primary | `#0000EE` |
| accent | `#3898EC` |
| link | `#3898EC` |
| secondary | `#FF8800` |
| button_bg | `#000000` |
| button_text | `#FFFFFF` |

**Using these colors**

- **Action color** `#000000` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- `accent`, `link` are all `#3898EC` — one role, not several.
- **accent** `#3898EC` — accent for emphasis — keep it rare on the page.
- **primary** `#0000EE` — a brand color — but the call-to-action uses #000000, not this.
- **secondary** `#FF8800` — optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
- **Page coverage** (full-page screenshot pixels): `#FAFAFA` 88.6% · `#000000` 5.6% · `#B4B2B0` 3.5% · `#434241` 2.3% — the action color covers ~5.6% of the page; keep it that scarce.

## Typography

- Heading: **IBM Plex Sans**
- Body: **IBM Plex Sans**
- Mono: **IBM Plex Mono**

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 64px / 700 · lh 64px · tracking -0.32px |
| h2 | 60px / 700 · lh 56px · tracking -0.8px |
| h3 | 40px / 400 · lh 40px |
| body | 14px / 400 · lh 20px |
| small | 12px / 400 · lh 14px |

- Weight ladder: 400 · 500 · 700 — use these exact measured weights, not the 400/600 defaults.

> **Fonts —** IBM Plex Sans — free, on Google.

## Spacing
- base unit: 4px (inferred from the measured scale)
- measured scale: 2px, 3px, 4px, 6px, 8px, 12px, 16px, 20px, 24px, 40px — snap all gaps/padding to these
- section rhythm: 100px top/bottom padding per section (measured)

## Radius
- base: 0px
- button: 0px
- card: 64px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#000000` / `#FFFFFF` | 1px solid rgb(0, 0, 0) | 0px | 8px 14px 8px 14px | 500 12px | none |
| secondary | `rgba(0, 0, 0, 0)` / `#0000EE` | none | 0px | 16px 0px 16px 0px | 400 14px | none |

**States (measured, not guessed)**

- primary hover: border `1px solid rgb(31, 31, 31)` · background `#1F1F1F`
- primary focus: outline `1px auto rgb(16, 16, 16)`

## Motion
- durations: 150ms (dominant)
- easings: `ease` (dominant) · `cubic-bezier(0.8, 0, 0.2, 1)`
- animated properties: transform

Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion.

## Their own tokens (verbatim from :root)

| Token | Value |
|-------|-------|
| `--color--bg-primary` | `#fafafa` |
| `--color--content-primary` | `#000` |
| `--color--stroke-primary` | `#d6d6d6` |
| `--color--content-tertiary` | `#666` |
| `--color--brand` | `#f80` |
| `--color--content-secondary` | `#333` |
| `--color--stroke-primary-hover` | `#b8b8b8` |
| `--color--content-quad` | `#999` |
| `--color--content-positive` | `#49a147` |
| `--color--content-negative` | `#eb361c` |
| `--color--content-dark20` | `#0003` |
| `--color--content-dark10` | `#0000001a` |

_…and 44 more measured on the page._

Prefer these names when extending their system — it's the brand's actual vocabulary.

## Layout (measured)
- container max 1200px · common grid: 2-col
- nav: 52px relative

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 93 | 1180 | 2 | — | 100/100 | 60/40 |
| 1404 | 1323 | 3 | — | 0/0 | — |
| 2727 | 1197 | — | — | 0/0 | — |
| 3935 | 2604 | — | — | 0/0 | — |

## Motion choreography (measured)
Load order: `div.h1-flips` @0ms
- `div.h1-flips` — transform translateY(0px)→translateY(-100%) — 28000ms cubic-bezier(0.8, 0, 0.2, 1) · loops

Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography.

## Themes (both measured)
- dark counterpart: bg `#000000` · text `#333333`
- tokens that flip between modes:
  - `--color--bg-primary`: `#fafafa` → `#000`
  - `--color--content-primary`: `#000` → `white`
  - `--color--stroke-primary`: `#d6d6d6` → `#292929`
  - `--color--content-tertiary`: `#666` → `#777`
  - `--color--content-secondary`: `#333` → `#ccc`
  - `--color--stroke-primary-hover`: `#b8b8b8` → `#3d3d3d`
  - `--color--content-quad`: `#999` → `#666`
  - `--color--content-dark20`: `#0003` → `#fff3`

## Responsive (measured)
- breakpoints: 479px · 767px · 991px · 1920px
- mobile (390px): hero 28px · body 14px · nav: hamburger

## How to apply
Paste the Tailwind `@theme` (or CSS variables) as your base, then build each
section to its spec — verify every color, radius, and font against these tokens.
Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them.
Mozaika is an MCP-native design-reference library for AI coding agents: real products decoded into measured design systems, full-page screens, sliced sections with per-section specs, and ordered user flows. Connect your agent over MCP.

An automated reading of E2B's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with e2b.dev. No screenshots stored. Removal requests: hello@mozaika.design.