Back to Discover

Dub.co

Open-source link management for modern marketers

dub.co
13 colors
13 components
Inter
Mar 27, 2026
Website Preview
Dub.co screenshot
Colors
Primary
#7B61FF

Primary purple

#FFFFFF

Background

#000000

Primary text

#F9FAFB

Card surfaces

#6B7280

Secondary text

Neutral
#111111

Dark headings

#374151

Body text

#9CA3AF

Placeholder text

#E5E7EB

Borders

#F9FAFB

Card background

Semantic
#22C55E

Active links, success state

#EF4444

Broken links, errors

#F59E0B

Expiring links

Typography
Inter
Role
SizeWeightHeight
Display
48px8001.1
Heading
28px7001.2
Body
16px4001.6
Stat
36px7001.1
Small
14px4001.5

DESIGN.md — Dub.co

Overview

Dub's design system follows a refined SaaS aesthetic — clean whites, precise typography, and a purple accent that signals modernity. The design prioritizes data visibility with clear analytics visualizations and actionable link management interfaces.

Colors

Primary Palette

TokenHexUsage
color-brand#7B61FFPrimary purple
color-bg#FFFFFFBackground
color-text#000000Primary text
color-muted-bg#F9FAFBCard surfaces
color-muted#6B7280Secondary text

Neutral Palette

TokenHexUsage
color-gray-900#111111Dark headings
color-gray-700#374151Body text
color-gray-400#9CA3AFPlaceholder text
color-gray-200#E5E7EBBorders
color-gray-50#F9FAFBCard background

Semantic Colors

TokenHexUsage
color-success#22C55EActive links, success state
color-error#EF4444Broken links, errors
color-warning#F59E0BExpiring links

Typography

RoleFamilySizeWeightLine Height
DisplayInter48px8001.1
HeadingInter28px7001.2
BodyInter16px4001.6
StatInter36px7001.1
SmallInter14px4001.5

Spacing

TokenValueUsage
space-14pxTag gaps
space-28pxAction button gaps
space-416pxCard padding
space-624pxSection gaps
space-832pxPage sections

Border Radius

TokenValueUsage
radius-sm4pxTags, badges
radius-md8pxButtons, inputs
radius-lg12pxCards, modals

Elevation

LevelValueUsage
shadow-sm0 1px 2px rgba(0,0,0,0.05)Cards at rest
shadow-md0 4px 12px rgba(0,0,0,0.08)Dropdowns
shadow-lg0 8px 24px rgba(0,0,0,0.12)Modals

Components

Link Card

  • URL preview, QR code, click count
  • Copy short link button
  • Edit / analytics / delete actions

Analytics Chart

  • Line chart for clicks over time
  • Country breakdown bar chart
  • Device / browser pie charts

Create Link Modal

  • Destination URL input
  • Custom slug field
  • Tags, UTM parameters, expiration

Do's and Don'ts

Do

  • Show click analytics prominently
  • Use purple for primary CTAs
  • Make link copying one-click

Don't

  • Don't hide QR codes — make them easily accessible
  • Don't use more than 3 chart types on one page
  • Don't truncate URLs without a tooltip

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