Back to Discover

Replicate

Run AI with an API

replicate.com
13 colors
15 components
Inter, Fira Mono
Apr 30, 2026
Website Preview
Replicate screenshot
Colors
Primary
#5555FF

CTAs, links, active states

#3333DD

Hover state

#00B4A0

Model output indicators

Neutral
#111111

Headings, body

#6B7280

Metadata, captions

#9CA3AF

Placeholders

#FFFFFF

Page background

#F9FAFB

Sidebar, table headers

#E5E7EB

Dividers, card borders

Semantic
#10B981

Successful predictions

#EF4444

Failed predictions

#5555FF

Running predictions

#9CA3AF

Pending

Typography
Inter
Role
SizeWeightHeight
H1
40px7001.1
H2
28px7001.2
H3
20px6001.3
Body
16px4001.6
Small
14px4001.5
Fira Mono
Role
SizeWeightHeight
Code
14px4001.6

Design System Inspired by Replicate

1. Visual Theme & Atmosphere

Replicate is an API-first ML model platform for engineers who want to run models in production. Crisp black on white with a bold indigo-blue accent signals developer credibility. Code examples are front-and-center — the UI exists to get you to the API as fast as possible.

Key Characteristics:

  • Bold indigo-blue on white — crisp and developer-forward
  • Code examples as primary UI content
  • Inter for clean technical clarity
  • Zero visual noise — function over aesthetics

2. Color Palette & Roles

Primary

  • Indigo Blue (#5555FF): CTAs, links, active states
  • Indigo Dark (#3333DD): Hover state

Accent Colors

  • Teal (#00B4A0): Model output indicators

Neutral Scale

  • Text Primary (#111111): Headings, body
  • Text Secondary (#6B7280): Metadata, captions
  • Text Muted (#9CA3AF): Placeholders

Surface & Borders

  • Background (#FFFFFF): Page background
  • Code BG (#111111): Code block background (dark)
  • Surface (#F9FAFB): Sidebar, table headers
  • Border (#E5E7EB): Dividers, card borders

Semantic / Status

  • Success (#10B981): Successful predictions
  • Error (#EF4444): Failed predictions
  • Processing (#5555FF): Running predictions
  • Queued (#9CA3AF): Pending

3. Typography Rules

Font Family

Primary: Inter, fallback: system-ui, sans-serif. Code: Fira Mono

Hierarchy

RoleFontSizeWeightLine HeightLetter SpacingNotes
H1Inter40px7001.1-0.02emPage titles
H2Inter28px7001.2-0.01emSection headings
H3Inter20px6001.30Card titles
BodyInter16px4001.60Prose
SmallInter14px4001.50Meta, labels
CodeFira Mono14px4001.60API examples

Principles

  • Show API code immediately — engineers assess the interface before the copy
  • Fira Mono for all code; never use Inter in code blocks

4. Component Stylings

Buttons

  • Primary: bg #5555FF, text #FFFFFF, padding 10px 20px, radius 6px, font 15px/600
  • Secondary: bg #FFFFFF, border 1px solid #E5E7EB, text #111111
  • Copy: bg #F3F4F6, text #111111, icon-only or short label

Cards & Containers

  • bg #FFFFFF, border 1px solid #E5E7EB, radius 8px, padding 20px
  • Model card: name (owner/model format), run count badge, I/O type chips

Inputs & Forms

  • Border 1px solid #E5E7EB, radius 6px, padding 10px 14px
  • Focus: border #5555FF

Navigation

  • Top nav #FFFFFF, height 60px, border-bottom #E5E7EB

5. Layout Principles

Spacing System

  • 4px — Tag gaps
  • 8px — Stat spacing
  • 12px — Badge padding
  • 16px — Card padding
  • 24px — Section gaps
  • 32px — Feature blocks
  • 48px — Page sections
  • 64px — Hero spacing

Grid & Container

  • Max width 1100px. Model browse: 3-column grid. Model page: 2-column (demo + code).

Whitespace Philosophy

Code examples need space to breathe — never compress API blocks.

Border Radius Scale

  • None (0px): Code block edges
  • Sm (4px): I/O type chips, version badge
  • Md (6px): Buttons, inputs
  • Lg (8px): Model cards
  • Full (9999px): Avatars, status dots

6. Depth & Elevation

LevelTreatmentUse
FlatnonePage background
Raised0 1px 3px rgba(0,0,0,0.08)Model cards
Overlay0 4px 12px rgba(0,0,0,0.12)Dropdowns
Modal0 8px 32px rgba(0,0,0,0.15)Dialogs

7. Do's and Don'ts

Do

  • Show code examples immediately on every model page
  • Use indigo for all interactive elements
  • Display owner/model name format (e.g. "stability-ai/sdxl")

Don't

  • Don't bury the API endpoint — it should be scannable from the top
  • Don't use gradients in the main UI
  • Don't use light code blocks — code is always on dark (#111111)

8. Responsive Behavior

Breakpoints

NameWidthKey Changes
Mobile0–767pxSingle column, stacked code
Tablet768–1023px2-column browse
Desktop1024px+3-column browse, 2-col model page

Touch Targets

Minimum 44×44px. Copy button has 44px hit area.

Collapsing Strategy

Model demo and code stack vertically on mobile. Browse goes single column.

9. Agent Prompt Guide

Quick Color Reference

  • CTA: Indigo Blue (#5555FF)
  • Background: White (#FFFFFF)
  • Text: Near-black (#111111)
  • Code bg: Black (#111111)
  • Border: #E5E7EB
  • Running: Indigo (#5555FF)
  • Success: Green (#10B981)

Iteration Guide

  1. Code examples use dark bg (#111111) even on a white page
  2. Model names always use the owner/model slug format
  3. Input and output type chips (image, text, audio) appear on every card
  4. Copy button is always top-right of code blocks
  5. Run count badge is prominent — it signals community trust

Want a DESIGN.md like this for your own website?