Grafana LabsBrand
Developer tools · DESIGN.md · measured November 29, 2026
Gradio design system
Gradio’s website (gradio.app) uses the IBM Plex Sans font and #FF7C00 as its main color on a white background. Measured by Sitepeel on November 29, 2026.
- #FFFFFF
- #F9FAFB
- #171717
- #FF7C00
From gradio.app ↗ · 342 elements at 1440×900 and 390×844 Independent analysis, not affiliated with Gradio
Gradio color palette
18 colors with hex codes, grouped by where each one is used on the page.
Surfaces
#FFFFFFbackground · --button-cancel-text-colorPage background · 30×#F9FAFBsurface-container-lowRaised areas one step from the page · 14×#F4F4F5surface-containerCards and panels · 5×#E5E7EBsurface-container-highHover and pressed fills · 2×#E4E4E7surface-container-highest · --color-zinc-200Highest raised elements · 1×#FFFFFF1AoverlayTranslucent fill for cards and controls · 2×#FF00004Doverlay-strongStronger translucent fill · 2×Text
#171717on-surfacePrimary text and headings · 18×#1F2937on-surface-variantSecondary text · 29×#6B7280on-surface-mutedMuted text and metadata · 46×#9CA3AFon-surface-subtleSubtle text and placeholders · 14×#FFFFFFon-primaryText and icons on primaryAccents
#FF7C00primaryPrimary buttons and calls to action · 3×#F97316secondaryAccent in text, fills and borders · 27×#2563EBtertiaryAccent in text, fills and borders · 7×Borders
#E5E7EBoutlineBorders and dividers · 79×#D1D5DBoutline-variantSecondary dividers · 9×Status
#22C55Esuccess · --color-green-500Success and positive states · 2×Gradio fonts and type scale
2 families.
mobile 48px
mobile 30px
Contrast
Text on #FFFFFF
17.9:114.6:14.8:12.5:1Spacing
No strict grid · 84% are multiples of 4px
xs4pxsm8pxmd16pxlg24pxxl48pxgutter8pxmargin16pxcontainer1280pxShapes
Corner radii, most used first.
Depth
Gradio UI components
Rebuilt from the measured CSS. Buttons from other sites
Motion
Interface transitions
0.15s0.2scubic-bezier(0.4, 0, 0.2, 1)ease
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: #F9FAFB, #F4F4F5, #E5E7EB, #E4E4E7.
- Keep text in 4 levels: #171717, #1F2937, #6B7280, #9CA3AF.
- Reserve #FF7C00 for primary actions and key highlights.
- Reuse the measured spacing steps (8px, 16px, 24px).
- Use 12px corners on most elements; larger surfaces also use 6px, 4px and 8px.
- Use #9CA3AF for body text; it reaches 2.54:1 on #FFFFFF. Keep it for large text or metadata.
- Introduce new font families beyond IBM Plex Sans and IBM Plex Mono.
- Use #FF7C00 for large backgrounds or body text.
- Make interface transitions slower than 0.2s.
---
version: alpha
name: Gradio
description: "Light interface measured from gradio.app: IBM Plex Sans type, vivid orange accents, tonal surfaces and 12px corners."
colors:
background: "#FFFFFF"
surface: "#FFFFFF"
on-surface: "#171717"
on-background: "#171717"
on-surface-variant: "#1F2937"
on-surface-muted: "#6B7280"
on-surface-subtle: "#9CA3AF"
surface-container-low: "#F9FAFB"
surface-container: "#F4F4F5"
surface-container-high: "#E5E7EB"
surface-container-highest: "#E4E4E7"
overlay: "#FFFFFF1A"
overlay-strong: "#FF00004D"
outline: "#E5E7EB"
outline-variant: "#D1D5DB"
primary: "#FF7C00"
on-primary: "#FFFFFF"
secondary: "#F97316"
tertiary: "#2563EB"
success: "#22C55E"
typography:
headline-display:
fontFamily: IBM Plex Sans
fontSize: 72px
fontWeight: 700
lineHeight: 1
headline-lg:
fontFamily: IBM Plex Sans
fontSize: 48px
fontWeight: 700
lineHeight: 1
headline-md:
fontFamily: IBM Plex Sans
fontSize: 24px
fontWeight: 700
lineHeight: 1.33
body-md:
fontFamily: IBM Plex Sans
fontSize: 14px
fontWeight: 400
lineHeight: 1.43
body-lg:
fontFamily: IBM Plex Sans
fontSize: 18px
fontWeight: 400
lineHeight: 1.56
body-sm:
fontFamily: IBM Plex Sans
fontSize: 10px
fontWeight: 400
lineHeight: 1.5
label-lg:
fontFamily: IBM Plex Sans
fontSize: 16px
fontWeight: 400
lineHeight: 1.5
label-md:
fontFamily: IBM Plex Sans
fontSize: 12px
fontWeight: 500
lineHeight: 1.33
label-sm:
fontFamily: IBM Plex Sans
fontSize: 10px
fontWeight: 500
lineHeight: 1.5
code:
fontFamily: IBM Plex Mono
fontSize: 12px
fontWeight: 400
lineHeight: 1.33
headline-display-mobile:
fontFamily: IBM Plex Sans
fontSize: 48px
fontWeight: 700
lineHeight: 1
headline-lg-mobile:
fontFamily: IBM Plex Sans
fontSize: 30px
fontWeight: 700
lineHeight: 1.2
rounded:
sm: 4px
md: 6px
lg: 8px
xl: 12px
full: 9999px
spacing:
xs: 4px
sm: 8px
md: 16px
lg: 24px
xl: 48px
gutter: 8px
margin: 16px
container: 1280px
components:
button-primary:
backgroundColor: "{colors.primary}"
textColor: "{colors.on-primary}"
typography: "{typography.body-lg}"
rounded: "{rounded.lg}"
padding: 0px 32px
height: 48px
button-primary-hover:
backgroundColor: "#EE7400"
button-outline:
backgroundColor: "{colors.surface-container}"
textColor: "{colors.on-primary}"
typography: "{typography.body-sm}"
rounded: "{rounded.full}"
padding: 4px 10px 4px 4px
height: 30px
button-outline-hover:
backgroundColor: "{colors.surface-container-highest}"
button-ghost:
backgroundColor: "{colors.background}"
textColor: "{colors.on-surface-variant}"
typography: "{typography.label-lg}"
rounded: "{rounded.lg}"
padding: 0px 24px
height: 48px
input-field:
textColor: "{colors.on-surface}"
typography: "{typography.label-lg}"
rounded: "{rounded.full}"
padding: 0px
card:
textColor: "{colors.on-surface}"
typography: "{typography.label-lg}"
rounded: "{rounded.xl}"
padding: 16px
---
# Gradio Design System
## Overview
Gradio describes itself as: “Build & Share Delightful Machine Learning Apps” The interface is light, built on **White (#FFFFFF)** with **Charcoal (#171717)** text, and **Vivid Orange (#FF7C00)** as the main accent.
Type is set in **IBM Plex Sans**, with **IBM Plex Mono** for code. Headlines run large; body text is 14px. Depth comes from soft drop shadows. Corners are mostly 12px.
Measured from [gradio.app](https://gradio.app/) on November 29, 2026 at 1440×900 and 390×844 from 342 rendered elements. Values are computed styles from the live page, not the original source files.
## Colors
The palette has 18 roles.
- **White (#FFFFFF):** Page background, seen 30 times. Token `background`, CSS `--button-cancel-text-color`.
- **Charcoal (#171717):** Primary text and headings, seen 18 times. Token `on-surface`.
- **Deep Blue (#1F2937):** Secondary text, seen 29 times. Token `on-surface-variant`.
- **Cool Slate (#6B7280):** Muted text and metadata, seen 46 times. Token `on-surface-muted`.
- **Blue (#9CA3AF):** Subtle text and placeholders, seen 14 times. Token `on-surface-subtle`.
- **Snow (#F9FAFB):** Raised areas one step from the page, seen 14 times. Token `surface-container-low`.
- **Snow (#F4F4F5):** Cards and panels, seen 5 times. Token `surface-container`.
- **Cool Mist (#E5E7EB):** Hover and pressed fills, seen 2 times. Token `surface-container-high`.
- **Mist (#E4E4E7):** Highest raised elements, seen 1 time. Token `surface-container-highest`, CSS `--color-zinc-200`.
- **White 10% (#FFFFFF1A):** Translucent fill for cards and controls, seen 2 times. Token `overlay`.
- **Vivid Red 30% (#FF00004D):** Stronger translucent fill, seen 2 times. Token `overlay-strong`.
- **Cool Mist (#E5E7EB):** Borders and dividers, seen 79 times. Token `outline`.
- **Cool Silver (#D1D5DB):** Secondary dividers, seen 9 times. Token `outline-variant`.
- **Vivid Orange (#FF7C00):** Primary buttons and calls to action, seen 3 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Vivid Orange (#F97316):** Accent in text, fills and borders, seen 27 times. Token `secondary`.
- **Vivid Blue (#2563EB):** Accent in text, fills and borders, seen 7 times. Token `tertiary`.
- **Green (#22C55E):** Success and positive states, seen 2 times. Token `success`, CSS `--color-green-500`.
## Typography
**IBM Plex Sans** and **IBM Plex Mono** (monospace) share the interface. Fallback stack: `IBM Plex Sans, ui-sans-serif, system-ui, sans-serif`. Other loaded fonts: Source Sans Pro.
- **headline-display:** IBM Plex Sans 72px at weight 700, line height 1 (48px on mobile). Page title (h1).
- **headline-lg:** IBM Plex Sans 48px at weight 700, line height 1 (30px on mobile). Section headings (h2).
- **headline-md:** IBM Plex Sans 24px at weight 700, line height 1.33. Sub-section headings.
- **body-md:** IBM Plex Sans 14px at weight 400, line height 1.43. Body text.
- **body-lg:** IBM Plex Sans 18px at weight 400, line height 1.56. Lead paragraphs.
- **body-sm:** IBM Plex Sans 10px at weight 400, line height 1.5. Secondary and small text.
- **label-lg:** IBM Plex Sans 16px at weight 400, line height 1.5. Large buttons and tabs.
- **label-md:** IBM Plex Sans 12px at weight 500, line height 1.33. Buttons, navigation and labels.
- **label-sm:** IBM Plex Sans 10px at weight 500, line height 1.5. Small labels and badges.
- **code:** IBM Plex Mono 12px at weight 400, line height 1.33. Code and technical values.
## Layout
Spacing is mostly on a 4px grid (84% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.
- **Scale:** xs 4px, sm 8px, md 16px, lg 24px, xl 48px.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1280px.
- **Page margin:** 16px on each side of full-width sections.
## Elevation & Depth
Raised elements use soft drop shadows. The most used recipes:
- `rgba(0, 0, 0, 0) 0px 0px 0px 1px inset, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px`
- `rgba(0, 0, 0, 0.05) 0px 1px 2px 0px`
- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(255, 124, 0, 0.25) 0px 10px 15px -3px, rgba(255, 124, 0, 0.25) 0px 4px 6px -4px`
## Shapes
Most elements use 12px corners. Measured radii, most used first:
- **xl (12px):** 188 elements.
- **md (6px):** 88 elements.
- **sm (4px):** 80 elements.
- **full (9999px):** 48 elements.
- **lg (8px):** 24 elements.
## Components
Measured from the rendered page. Token values reference the tokens above.
- **button-primary (“Get Started”):** #FF7C00 fill, #FFFFFF text, 18px/600, 8px radius, padding 0px 32px, shadow `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(255, 124, 0, 0.25) 0px 10px 15px -3px, rgba(255, 124, 0, 0.25) 0px 4px 6px -4px`.
- **button-primary-hover:** background #EE7400, text #FFFFFF on hover.
- **button-outline (“NEW Gradio 6 is here! Learn more”):** #F4F4F5 fill, #FFFFFF text, 10px/400, 9999px radius, padding 4px 10px 4px 4px, border 1px solid #E4E4E7.
- **button-outline-hover:** background #E4E4E7, text #FFFFFF on hover.
- **button-ghost (“GitHub 44130”):** #FFFFFF fill, #1F2937 text, 16px/500, 8px radius, padding 0px 24px, border 1px solid #E5E7EB.
- **input-field:** transparent fill, #171717 text, 16px/400, 9999px radius, padding 0px.
- **card:** transparent fill, #171717 text, 16px/400, 12px radius, padding 16px, border 2px solid #E5E7EB.
## Do's and Don'ts
- Do use #FFFFFF for the page and lift surfaces in small steps: #F9FAFB, #F4F4F5, #E5E7EB, #E4E4E7.
- Do keep text in 4 levels: #171717, #1F2937, #6B7280, #9CA3AF.
- Do reserve #FF7C00 for primary actions and key highlights.
- Do reuse the measured spacing steps (8px, 16px, 24px).
- Do use 12px corners on most elements; larger surfaces also use 6px, 4px and 8px.
- Don't use #9CA3AF for body text; it reaches 2.54:1 on #FFFFFF. Keep it for large text or metadata.
- Don't introduce new font families beyond IBM Plex Sans and IBM Plex Mono.
- Don't use #FF7C00 for large backgrounds or body text.
- Don't make interface transitions slower than 0.2s.
## Motion
Interface transitions are quick: 0.15s, 0.2s.
- **Easing:** `cubic-bezier(0.4, 0, 0.2, 1)`, `ease`.
Generated by [Sitepeel](https://sitepeel.dev/design-md/gradio.app/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
Fonts
What font does Gradio use?
Gradio uses IBM Plex Sans (weights 400, 500 and 700), with IBM Plex Mono for code on gradio.app. Page titles are 72px at weight 700 (48px on phones) and body text is 14px. Measured on November 29, 2026.
- AaIBM Plex Sans · 400, 500, 700
- AaIBM Plex Mono · 400
Colors
Gradio colors: palette and hex codes
Gradio’s main colors are #FFFFFF (white) for the background, #171717 (charcoal) for text and #FF7C00 (vivid orange) as the main accent, with #F97316 (vivid orange) and #2563EB (vivid blue) as other accents. Measured on November 29, 2026.
- #FFFFFF whitergb(255, 255, 255) · hsl(0, 0%, 100%)
- #171717 charcoalrgb(23, 23, 23) · hsl(0, 0%, 9%)
- #1F2937 deep bluergb(31, 41, 55) · hsl(215, 28%, 17%)
- #6B7280 cool slatergb(107, 114, 128) · hsl(220, 9%, 46%)
- #9CA3AF bluergb(156, 163, 175) · hsl(218, 11%, 65%)
- #F9FAFB snowrgb(249, 250, 251) · hsl(210, 20%, 98%)
- #F4F4F5 snowrgb(244, 244, 245) · hsl(240, 5%, 96%)
- #E5E7EB cool mistrgb(229, 231, 235) · hsl(220, 13%, 91%)
Tech stack
What is Gradio built with?
Gradio’s website (gradio.app) is built with Svelte, SvelteKit, Tailwind CSS, Cloudflare and Google Fonts. Measured on November 29, 2026.
- JavaScript framework
- Svelte 5, SvelteKit
- Hosting & CDN
- Cloudflare
- UI & CSS
- Tailwind CSS 4.x
- Analytics
- Cloudflare Web Analytics, Google Analytics
- Fonts & icons
- Google Fonts
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 Developer tools
All DESIGN.md examples →Not in the library? Make a DESIGN.md from any site.
FAQ
Gradio design system questions
What font does Gradio use?
Gradio’s website uses IBM Plex Sans (weights 400, 500 and 700), with IBM Plex Mono for code. Page titles are 72px at weight 700 (48px on phones) and body text is 14px. Measured on November 29, 2026.
What are the Gradio colors and hex codes?
On gradio.app: #FFFFFF (white) for the background, #171717 (charcoal) for text and #FF7C00 (vivid orange) as the main accent, with #F97316 (vivid orange) and #2563EB (vivid blue) as other accents. The color palette above lists all 18 colors with their hex codes and where each one is used.
What is the Gradio design system?
The design system on this page is gradio.app’s, as measured on November 29, 2026: IBM Plex Sans type, #FF7C00 as the main color and 12px corners, written down as a DESIGN.md. It is not Gradio’s own documentation.
What is Gradio built with?
Gradio’s website (gradio.app) is built with Svelte, SvelteKit, Tailwind CSS, Cloudflare and Google Fonts. The full tech stack Sitepeel found: Svelte, SvelteKit, Cloudflare, Tailwind CSS, Cloudflare Web Analytics, Google Fonts and Google Analytics. Measured on November 29, 2026.
What is the Gradio DESIGN.md?
A plain-text file with Gradio’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 Gradio’s official design system?
No. Sitepeel measured it from gradio.app’s public page on November 29, 2026. It is an independent analysis, not made or approved by Gradio.
Can I use Gradio’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 Gradio’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.




