StorybookBrand
UI and animation libraries · DESIGN.md · measured November 29, 2026
Sonner design system
Sonner’s website (sonner.emilkowal.ski) uses the Inter font on a white background. Measured by Sitepeel on November 29, 2026.
- #FFFFFF
- #FCFCFC
- #171717
From sonner.emilkowal.ski ↗ · 145 elements at 1440×900 and 390×844 Independent analysis, not affiliated with Sonner
Sonner color palette
10 colors with hex codes, grouped by where each one is used on the page.
Surfaces
#FFFFFFbackground · --subtlePage background · 2×#FCFCFCsurface-container-low · --el-bgRaised areas one step from the page · 21×#F3F3F3surface-containerCards and panels · 3×Text
#171717on-surfacePrimary text and headings · 56×#6F6F6Fon-surface-variantSecondary text · 12×#8F8F8Fon-surface-mutedMuted text and metadata · 45×#FCFCFCon-primaryText and icons on primaryAccents
#171717primaryPrimary buttons and calls to action · 59×Borders
#F3F3F3outlineBorders and dividers · 21×#DBDBDBoutline-variant · --solid-border-hoverSecondary dividers · 3×Sonner fonts and type scale
2 families.
Contrast
Text on #FFFFFF
17.9:15.0:13.2:1Spacing
4px grid · 95% of values fit
sm8pxmd12pxlg30pxcontainer672pxBreakpoints: 600px 640px 768px 1024px 1280px 1536px
Sonner UI components
Rebuilt from the measured CSS. Buttons from other sites
Motion
Interface transitions
0.2sease
Do’s and don’ts
Rules written from the measurements, so a coding agent stays on style.
- Use #FFFFFF for the page and lift surfaces in small steps: #FCFCFC, #F3F3F3.
- Keep text in 3 levels: #171717, #6F6F6F, #8F8F8F.
- Let contrast carry emphasis; primary actions use #171717 on #FFFFFF.
- Keep spacing on the 4px grid.
- Use 6px corners on most elements.
- Use #8F8F8F for body text; it reaches 3.23:1 on #FFFFFF. Keep it for large text or metadata.
- Use heavy drop shadows; keep depth to hairline rings and tonal surfaces.
- Introduce new font families beyond Inter and Mono.
- Add saturated accent colors; the measured palette is almost entirely neutral.
- Make interface transitions slower than 0.2s.
---
version: alpha
name: Sonner
description: "Light monochrome interface measured from sonner.emilkowal.ski: Inter type, tonal surfaces and 6px corners."
colors:
background: "#FFFFFF"
surface: "#FFFFFF"
on-surface: "#171717"
on-background: "#171717"
on-surface-variant: "#6F6F6F"
on-surface-muted: "#8F8F8F"
surface-container-low: "#FCFCFC"
surface-container: "#F3F3F3"
outline: "#F3F3F3"
outline-variant: "#DBDBDB"
primary: "#171717"
on-primary: "#FCFCFC"
typography:
headline-display:
fontFamily: Inter
fontSize: 48px
fontWeight: 700
lineHeight: 0.52
body-md:
fontFamily: Inter
fontSize: 16px
fontWeight: 400
lineHeight: 1.5
body-sm:
fontFamily: Inter
fontSize: 14px
fontWeight: 400
lineHeight: 1.43
label-md:
fontFamily: Inter
fontSize: 16px
fontWeight: 500
lineHeight: 1.5
label-sm:
fontFamily: Inter
fontSize: 13px
fontWeight: 500
lineHeight: 1.5
code:
fontFamily: Mono
fontSize: 14px
fontWeight: 400
lineHeight: 2
rounded:
md: 6px
spacing:
base: 4px
sm: 8px
md: 12px
lg: 30px
container: 672px
components:
button-primary:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.label-sm}"
rounded: "{rounded.md}"
padding: 0px 30px
height: 40px
button-primary-hover:
backgroundColor: "#282828"
button-outline:
backgroundColor: "{colors.surface-container-low}"
textColor: "{colors.on-surface}"
typography: "{typography.label-sm}"
rounded: "{rounded.md}"
padding: 8px 12px
height: 38px
button-outline-hover:
backgroundColor: "#F8F8F8"
button-secondary:
textColor: "{colors.on-surface}"
typography: "{typography.label-sm}"
rounded: "{rounded.md}"
padding: 0px 30px
height: 40px
button-ghost:
textColor: "{colors.on-surface}"
typography: "{typography.label-sm}"
rounded: "{rounded.md}"
padding: 0px 30px
link:
textColor: "#18181B"
---
# Sonner Design System
## Overview
Sonner describes itself as: “An opinionated toast component for React.” The interface is light, built on **White (#FFFFFF)** with **Charcoal (#171717)** text and almost no color: actions are carried by contrast, not hue.
Type is set in **Inter**, with **Mono** for code. Headlines run large; body text is 16px. Depth comes from hairline borders and inset highlights rather than drop shadows. Corners are mostly 6px.
Measured from [sonner.emilkowal.ski](https://sonner.emilkowal.ski/) on November 29, 2026 at 1440×900 and 390×844 from 145 rendered elements. Values are computed styles from the live page, not the original source files.
## Colors
The palette has 10 roles.
- **White (#FFFFFF):** Page background, seen 2 times. Token `background`, CSS `--subtle`.
- **Charcoal (#171717):** Primary text and headings, seen 56 times. Token `on-surface`.
- **Slate (#6F6F6F):** Secondary text, seen 12 times. Token `on-surface-variant`.
- **Gray (#8F8F8F):** Muted text and metadata, seen 45 times. Token `on-surface-muted`.
- **Snow (#FCFCFC):** Raised areas one step from the page, seen 21 times. Token `surface-container-low`, CSS `--el-bg`.
- **Mist (#F3F3F3):** Cards and panels, seen 3 times. Token `surface-container`.
- **Mist (#F3F3F3):** Borders and dividers, seen 21 times. Token `outline`.
- **Silver (#DBDBDB):** Secondary dividers, seen 3 times. Token `outline-variant`, CSS `--solid-border-hover`.
- **Charcoal (#171717):** Primary buttons and calls to action, seen 59 times. Token `primary`.
- **Snow (#FCFCFC):** Text and icons on primary. Token `on-primary`.
## Typography
**Inter** and **Mono** (monospace) share the interface. Fallback stack: `Inter, Inter Fallback`.
- **headline-display:** Inter 48px at weight 700, line height 0.52. Page title (h1).
- **body-md:** Inter 16px at weight 400, line height 1.5. Body text.
- **body-sm:** Inter 14px at weight 400, line height 1.43. Secondary and small text.
- **label-md:** Inter 16px at weight 500, line height 1.5. Buttons, navigation and labels.
- **label-sm:** Inter 13px at weight 500, line height 1.5. Small labels and badges.
- **code:** Mono 14px at weight 400, line height 2. Code and technical values.
## Layout
Spacing follows a 4px grid: 95% of measured gaps and paddings are multiples of 4px.
- **Scale:** sm 8px, md 12px, lg 30px.
- **Container:** content is capped at 672px.
- **Breakpoints:** 600px, 640px, 768px, 1024px, 1280px, 1536px.
## Elevation & Depth
Depth comes mostly from hairline rings and inset highlights on tonal surfaces (#FCFCFC → #F3F3F3):
- `rgb(23, 23, 23) 0px 0px 0px 1px`
A few raised panels add a soft drop shadow: `rgba(0, 0, 0, 0.06) 0px 0px 0px 1px, rgba(0, 0, 0, 0.08) 0px 1px 0px 0px, rgba(0, 0, 0, 0.04) 0px 2px 2px 0px, rgba(0, 0, 0, 0.02) 0px 3px 3px 0px, rgba(0, 0, 0, 0.01) 0px 4px 4px 0px`.
## Shapes
Most elements use 6px corners. Measured radii, most used first:
- **md (6px):** 104 elements.
## Components
Measured from the rendered page. Token values reference the tokens above.
- **button-primary (“Render a toast”):** #171717 fill, #FCFCFC text, 13px/600, 6px radius, padding 0px 30px, shadow `rgb(23, 23, 23) 0px 0px 0px 1px`.
- **button-primary-hover:** background #282828, text #FCFCFC on hover.
- **button-outline (“Description”):** #FCFCFC fill, #171717 text, 13px/500, 6px radius, padding 8px 12px, border 1px solid #F3F3F3.
- **button-outline-hover:** background #F8F8F8, text #171717 on hover.
- **button-secondary (“GitHub”):** transparent fill, #171717 text, 13px/600, 6px radius, padding 0px 30px, shadow `rgba(0, 0, 0, 0.06) 0px 0px 0px 1px, rgba(0, 0, 0, 0.08) 0px 1px 0px 0px, rgba(0, 0, 0, 0.04) 0px 2px 2px 0px, rgba(0, 0, 0, 0.02) 0px 3px 3px 0px, rgba(0, 0, 0, 0.01) 0px 4px 4px 0px`.
- **button-ghost (“GitHub”):** transparent fill, #171717 text, 13px/600, 6px radius, padding 0px 30px, shadow `rgba(0, 0, 0, 0.06) 0px 0px 0px 1px, rgba(0, 0, 0, 0.08) 0px 1px 0px 0px, rgba(0, 0, 0, 0.04) 0px 2px 2px 0px, rgba(0, 0, 0, 0.02) 0px 3px 3px 0px, rgba(0, 0, 0, 0.01) 0px 4px 4px 0px`.
- **link:** transparent fill, #18181B text, padding 0px.
## Do's and Don'ts
- Do use #FFFFFF for the page and lift surfaces in small steps: #FCFCFC, #F3F3F3.
- Do keep text in 3 levels: #171717, #6F6F6F, #8F8F8F.
- Do let contrast carry emphasis; primary actions use #171717 on #FFFFFF.
- Do keep spacing on the 4px grid.
- Do use 6px corners on most elements.
- Don't use #8F8F8F for body text; it reaches 3.23:1 on #FFFFFF. Keep it for large text or metadata.
- Don't use heavy drop shadows; keep depth to hairline rings and tonal surfaces.
- Don't introduce new font families beyond Inter and Mono.
- Don't add saturated accent colors; the measured palette is almost entirely neutral.
- Don't make interface transitions slower than 0.2s.
## Motion
Interface transitions are quick: 0.2s.
- **Easing:** `ease`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.
Generated by [Sitepeel](https://sitepeel.dev/design-md/sonner.emilkowal.ski/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
Fonts
What font does Sonner use?
Sonner uses Inter (weights 400, 500 and 700), with Mono for code on sonner.emilkowal.ski. Page titles are 48px at weight 700 and body text is 16px. Measured on November 29, 2026.
- AaInter · 400, 500, 700
- AaMono · 400
Colors
Sonner colors: palette and hex codes
Sonner’s main colors are #FFFFFF (white) for the background and #171717 (charcoal) for text. Measured on November 29, 2026.
- #FFFFFF whitergb(255, 255, 255) · hsl(0, 0%, 100%)
- #171717 charcoalrgb(23, 23, 23) · hsl(0, 0%, 9%)
- #6F6F6F slatergb(111, 111, 111) · hsl(0, 0%, 44%)
- #8F8F8F grayrgb(143, 143, 143) · hsl(0, 0%, 56%)
- #FCFCFC snowrgb(252, 252, 252) · hsl(0, 0%, 99%)
- #F3F3F3 mistrgb(243, 243, 243) · hsl(0, 0%, 95%)
- #DBDBDB silverrgb(219, 219, 219) · hsl(0, 0%, 86%)
Tech stack
What is Sonner built with?
Sonner’s website (sonner.emilkowal.ski) is built with Next.js, React, CSS Modules, Vercel and Motion. Measured on November 29, 2026.
- JavaScript framework
- Next.js 15.1.11, React 19.0.0-rc-65e06cb7-20241
- Hosting & CDN
- Vercel
- Animation & 3D
- Motion
- Analytics
- Vercel Web Analytics
- UI & CSS
- CSS Modules
What you can build with it
Landing pages, pricing tables, dashboards: your AI coding agent builds them in this style, with these colors, fonts, spacing and buttons instead of its defaults.
Download DESIGN.md, put it in your project’s root folder, then ask your agent for a page.
Build a landing page for my product. Follow for every color, font, spacing value, corner and button.
Need a page behind a login?
The DESIGN.md generator Chrome extension makes one from any page you have open, including dashboards and pages behind a login.
More in UI and animation libraries
All DESIGN.md examples →Not in the library? Make a DESIGN.md from any site.
FAQ
Sonner design system questions
What font does Sonner use?
Sonner’s website uses Inter (weights 400, 500 and 700), with Mono for code. Page titles are 48px at weight 700 and body text is 16px. Measured on November 29, 2026.
What are the Sonner colors and hex codes?
On sonner.emilkowal.ski: #FFFFFF (white) for the background and #171717 (charcoal) for text. The color palette above lists all 10 colors with their hex codes and where each one is used.
What is the Sonner design system?
The design system on this page is sonner.emilkowal.ski’s, as measured on November 29, 2026: Inter type, 6px corners and a 4px spacing grid, written down as a DESIGN.md. It is not Sonner’s own documentation.
What is Sonner built with?
Sonner’s website (sonner.emilkowal.ski) is built with Next.js, React, CSS Modules, Vercel and Motion. The full tech stack Sitepeel found: Next.js, Vercel, React, Motion, Vercel Web Analytics and CSS Modules. Measured on November 29, 2026.
What is the Sonner DESIGN.md?
A plain-text file with Sonner’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.
How do I use it with Claude Code or Cursor?
Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.
Is this Sonner’s official design system?
No. Sitepeel measured it from sonner.emilkowal.ski’s public page on November 29, 2026. It is an independent analysis, not made or approved by Sonner.
Can I use Sonner’s style in my own product?
Use it to learn, prototype and compare. For a real product, make the style your own, and never copy Sonner’s logo, name, pictures or text.
How accurate are the values?
Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.




