Overview
The typography domain provides carefully curated font pairings optimized for different moods, industries, and use cases. Each pairing includes Google Fonts URLs, CSS imports, and Tailwind config. Database:typography.csv (57 pairings)Search columns: Font Pairing Name, Category, Mood/Style Keywords, Best For, Heading Font, Body Font
Output columns: All font details including Google Fonts URL, CSS import, Tailwind config, notes
When to Use
- Selecting fonts for a new project
- Matching typography to brand personality
- Finding Google Fonts alternatives
- Setting up Tailwind font configuration
- Ensuring readability and accessibility
Search Examples
Example 1: Modern Professional
Expected Output
Expected Output
Example 2: Elegant Luxury
Expected Output
Expected Output
Example 3: Playful Creative
Expected Output
Expected Output
CSV Structure
| Column | Description | Example |
|---|---|---|
No | Row number | 1 |
Font Pairing Name | Pairing name | ”Classic Elegant” |
Category | Font combination | ”Serif + Sans” |
Heading Font | Font for headings | ”Playfair Display” |
Body Font | Font for body text | ”Inter” |
Mood/Style Keywords | Personality keywords | ”elegant, luxury, sophisticated” |
Best For | Use cases | ”Luxury brands, fashion, spa” |
Google Fonts URL | Direct link to fonts | ”https://fonts.google.com/share?…” |
CSS Import | @import statement | ”@import url(’…’);“ |
Tailwind Config | Tailwind configuration | ”fontFamily: {…}” |
Notes | Additional context | ”High contrast pairing” |
Font Categories
All Categories
All Categories
Serif + Sans (High Contrast)
- Classic Elegant - Playfair Display + Inter
- Wellness Calm - Lora + Raleway
- Timeless Professional - Merriweather + Work Sans
- Editorial Premium - Libre Baskerville + Source Sans Pro
Sans + Sans (Modern)
- Modern Professional - Poppins + Open Sans
- Tech Startup - Space Grotesk + DM Sans
- Minimal Swiss - Inter + Inter (single font)
- Corporate Clean - Montserrat + Roboto
Serif + Serif (Traditional)
- Editorial Classic - Cormorant Garamond + Libre Baskerville
- Academic Traditional - Crimson Text + EB Garamond
Display + Sans (Creative)
- Playful Creative - Fredoka + Nunito
- Bold Statement - Bebas Neue + Source Sans 3
- Artistic Bold - Righteous + Nunito Sans
Mono + Sans (Developer)
- Developer Mono - JetBrains Mono + IBM Plex Sans
- Code Editor - Fira Code + Inter
Implementation Guide
Step 1: Add CSS Import
Add to your HTML<head> or CSS file:
Step 2: Configure Tailwind
Add totailwind.config.js:
Step 3: Apply in HTML
Step 4: CSS Custom Properties
Typography Best Practices
Font Sizes
| Element | Size (px) | Tailwind Class | Usage |
|---|---|---|---|
| H1 | 48-64 | text-5xl / text-6xl | Hero headings |
| H2 | 36-48 | text-4xl / text-5xl | Section headings |
| H3 | 24-32 | text-2xl / text-3xl | Subsections |
| H4 | 20-24 | text-xl / text-2xl | Card titles |
| Body | 16-18 | text-base / text-lg | Body text |
| Small | 14 | text-sm | Captions, notes |
| Tiny | 12 | text-xs | Legal text |
Line Height
| Text Type | Line Height | Tailwind Class |
|---|---|---|
| Headings | 1.1-1.3 | leading-tight / leading-snug |
| Body | 1.5-1.75 | leading-normal / leading-relaxed |
| Legal/Dense | 1.3-1.5 | leading-snug / leading-normal |
Line Length
Optimal readability: 65-75 characters per line (45-90 range)
Use
Use
max-w-prose (65ch) in Tailwind or max-width: 65ch in CSSFont Weights
| Weight | Value | Tailwind | Usage |
|---|---|---|---|
| Light | 300 | font-light | Secondary text |
| Normal | 400 | font-normal | Body text |
| Medium | 500 | font-medium | Emphasis |
| Semibold | 600 | font-semibold | Headings |
| Bold | 700 | font-bold | Strong emphasis |
Performance Optimization
Font Loading Strategy
Font Display Strategy
Variable Fonts (Recommended)
Use variable fonts for better performance:Accessibility
Minimum Contrast
- Normal text (< 24px): 4.5:1 contrast ratio (WCAG AA)
- Large text (≥ 24px): 3:1 contrast ratio (WCAG AA)
- AAA compliance: 7:1 for normal, 4.5:1 for large
Readable Fonts
Avoid:- Thin weights (< 300) for body text
- Script/cursive fonts for long text
- All-caps for paragraphs
- Low-contrast colors
Dyslexia-Friendly
Recommended fonts:- Inter - Variable font, good spacing
- Open Sans - Humanist, clear letterforms
- Lexend - Specifically designed for readability
Font Pairing by Industry
Industry Recommendations
Industry Recommendations
| Industry | Pairing | Heading Font | Body Font |
|---|---|---|---|
| SaaS | Modern Professional | Poppins | Open Sans |
| E-commerce | Modern Clean | Montserrat | Roboto |
| Luxury | Classic Elegant | Playfair Display | Inter |
| Healthcare | Wellness Calm | Lora | Raleway |
| Finance | Corporate Professional | Inter | Inter |
| Tech/Startup | Tech Startup | Space Grotesk | DM Sans |
| Education | Playful Creative | Fredoka | Nunito |
| Developer Tools | Developer Mono | JetBrains Mono | IBM Plex Sans |
| Fashion | Editorial Elegant | Cormorant | Josefin Sans |
| Gaming | Bold Statement | Bebas Neue | Source Sans 3 |
Next Steps
Color Palettes
Match colors to your typography
Style Implementation
Apply fonts in different UI styles
UX Guidelines
Verify typography accessibility
Product Types
Find recommended fonts for your product