Back to Discover

Clerk

Authentication and user management for the modern web

clerk.com
13 colors
19 components
Inter
Mar 22, 2026
Website Preview
Clerk screenshot
Colors
Primary
#6C47FF

Primary purple

#131316

App background

#1F0256

Purple-tinted surface

#FFFFFF

Primary text

#F4F0FF

Light mode surfaces

Neutral
#131316

App background

#1E1E26

Card surfaces

#3D3D50

Borders

#7C7C99

Muted text

#E8E8F0

Light surfaces

Semantic
#16A34A

Verified, authenticated states

#DC2626

Auth errors, invalid input

#D97706

Session expiry warnings

Typography
Inter
Role
SizeWeightHeight
Display
48px7001.1
Heading
32px6001.2
Body
16px4001.6
Label
13px5001.4
Caption
12px4001.4

DESIGN.md — Clerk

Overview

Clerk's design system bridges developer tooling and end-user polish. A deep purple accent on near-black surfaces creates a premium, security-focused feel. The auth components are designed to be both embeddable and beautiful out of the box.

Colors

Primary Palette

TokenHexUsage
color-brand#6C47FFPrimary purple
color-bg#131316App background
color-surface#1F0256Purple-tinted surface
color-text#FFFFFFPrimary text
color-light#F4F0FFLight mode surfaces

Neutral Palette

TokenHexUsage
color-gray-950#131316App background
color-gray-800#1E1E26Card surfaces
color-gray-600#3D3D50Borders
color-gray-400#7C7C99Muted text
color-gray-100#E8E8F0Light surfaces

Semantic Colors

TokenHexUsage
color-success#16A34AVerified, authenticated states
color-error#DC2626Auth errors, invalid input
color-warning#D97706Session expiry warnings

Typography

RoleFamilySizeWeightLine Height
DisplayInter48px7001.1
HeadingInter32px6001.2
BodyInter16px4001.6
LabelInter13px5001.4
CaptionInter12px4001.4

Spacing

TokenValueUsage
space-14pxInline gaps
space-28pxField gaps
space-416pxForm spacing
space-624pxCard padding
space-832pxModal padding

Border Radius

TokenValueUsage
radius-sm6pxInputs, buttons
radius-md10pxCards
radius-lg16pxSign-in modal
radius-full9999pxAvatar, pill badges

Elevation

LevelValueUsage
shadow-sm0 1px 3px rgba(0,0,0,0.2)Input fields
shadow-md0 4px 16px rgba(108,71,255,0.15)Auth card
shadow-lg0 12px 40px rgba(0,0,0,0.4)Full modal

Components

Sign In Card

  • Centered card, white bg, radius 16px
  • Social providers (Google, GitHub, etc.)
  • Email/password fields
  • "Secured by Clerk" footer badge

User Button

  • Avatar circle, click for dropdown
  • Shows name, email, sign out option
  • Customizable theme

Do's and Don'ts

Do

  • Use purple as the single accent color
  • Make auth flows feel secure with dark backgrounds
  • Support both light and dark theme variants

Don't

  • Don't use bright colors for non-interactive elements
  • Don't reduce auth form padding below 24px
  • Don't hide the security branding

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