The best fonts for Shadcn UI (and how to pair them)
October 23, 2026 · 5 min read
Typography does more to set the tone of a Shadcn UI project than almost any other choice. The same components can look like a developer console, a magazine or a friendly consumer app depending on the font. Shadcn UI presets include 26 Google Fonts and let you set a separate heading font, so there's plenty of room to experiment. This guide groups the fonts, suggests pairings, and shows which ones suit each style.
How fonts work in a preset
A preset has two font fields:
font: the body font, used for UI text, labels, inputs and paragraphs.fontHeading: the heading font. Set it toinheritto use the body font everywhere, or pick any other font from the list.
All of these fonts are on Google Fonts, so they're free to use and load the same way. To switch fonts in an existing project without changing your colors or style, apply only the font part of a preset:
npx shadcn@latest apply --preset <code> --only font
Sans-serif fonts
Sans-serifs are the workhorses. Most UI text should be set in one.
| Font | Character | Good for |
|---|---|---|
| Inter | Neutral, very legible at small sizes | Almost anything, dashboards |
| Geist | Modern, tight, technical | SaaS, developer products |
| DM Sans | Geometric, friendly, low contrast | Marketing sites, editorial body text |
| Manrope | Geometric with a modern edge | SaaS, fintech, luxury |
| Figtree | Warm and rounded | Consumer apps, playful brands |
| Outfit | Geometric, slightly display-like | Playful products, headings |
| Nunito Sans | Soft and approachable | Wellness, education |
| Public Sans | Plain and institutional | Government, corporate, data |
| IBM Plex Sans | Engineered, slightly quirky | Dashboards, enterprise |
| Source Sans 3 | Humanist, highly readable | Long-form UI, corporate |
| Instrument Sans | Crisp, contemporary | Editorial, creative studios |
| Roboto | Familiar, mechanical | Android-adjacent and data-heavy apps |
| Noto Sans | Neutral, huge language coverage | Multilingual products |
| Montserrat | Wide, bold geometric | Headings, brand-forward sites |
| Raleway | Elegant, thin at light weights | Boutiques, fashion |
If you're unsure, Inter or Geist is a safe default. If you want more personality without losing legibility, try Figtree, Manrope or DM Sans.
Serif fonts
Serifs work best as heading fonts in UI. They add warmth, authority or elegance without hurting legibility in dense controls.
| Font | Character |
|---|---|
| Lora | Warm, calligraphic, readable |
| Merriweather | Sturdy and screen-friendly |
| Playfair Display | High-contrast, fashion and magazine |
| Noto Serif | Classic and neutral |
| EB Garamond | Literary and old-style |
| Instrument Serif | Condensed, stylish display serif |
| Roboto Slab | Slab serif, solid and corporate |
Lora and Merriweather are sturdy enough for body text in content-heavy pages. Playfair Display and Instrument Serif are best kept to headings.
Monospace fonts
- JetBrains Mono: designed for code, with clear distinctions between similar characters.
- Geist Mono: the monospace companion to Geist, a little more compact.
Monospace body text gives a strong terminal or brutalist feel. It's a deliberate choice, so it suits developer tools more than general products.
Display fonts
- Oxanium: squared, futuristic letterforms. Great for retro, gaming or sci-fi headings.
- Space Grotesk: a grotesque with quirky details. Works as a heading font or as body text for creative tools.
Use display fonts for headings only, and keep the body in a plain sans.
Heading and body pairings
A good pairing has contrast in one dimension (serif vs sans, or geometric vs humanist) and harmony in another (similar x-height or weight). These combinations all appear in real presets:
| Heading | Body | Feel | Example |
|---|---|---|---|
| Merriweather | DM Sans | Warm editorial | Green Willow |
| Lora | Instrument Sans | Craft, food, lifestyle | Amber Copper |
| Playfair Display | Manrope | Luxury, fashion | Fuchsia Atelier |
| EB Garamond | Montserrat | Elegant, premium | Mauve Velvet |
| Instrument Serif | Geist Mono | Technical meets editorial | Stone Paper |
| Roboto Slab | Public Sans | Corporate, trustworthy | Blue Bastion |
| Oxanium | JetBrains Mono | Retro, synthwave | Cyan Synth |
| Outfit | Nunito Sans | Playful, rounded | Fuchsia Bubble |
| Manrope | Geist | Clean SaaS | Sky Launch |
When in doubt, keep fontHeading set to inherit. One well-chosen font set at a few weights is better than a mismatched pair.
Matching fonts to styles
Styles control geometry and spacing, and some styles have an obvious typographic partner. See shadcn styles compared for the full rundown.
- Lyra: boxy and sharp, with zero radius. It was designed with monospace fonts in mind. JetBrains Mono or Geist Mono throughout gives a terminal look. A sans body with Oxanium or Space Grotesk headings works too.
- Sera: editorial and typographic, with square corners and serif, uppercase, tracked headings. Pair it with a serif
fontHeadingsuch as Lora, Merriweather, Noto Serif or Playfair Display, and a clean sans body. - Vega and Nova: general-purpose. Inter, Geist, Public Sans and Source Sans 3 all look at home.
- Maia: rounded and generous. Friendlier fonts such as Figtree, Nunito Sans and Outfit suit it.
- Mira and Rhea: compact. Fonts that stay legible at small sizes, such as Inter, IBM Plex Sans and Public Sans, work best.
- Luma: soft and luminous. Manrope, Figtree or Geist, optionally with an elegant serif heading.
Amber Gazette
Sera · Amber + Stone · Noto Serif / Public Sans
b5AzLdyGzDTry fonts on real layouts
Font choices are hard to judge from a specimen. The preset builder lets you swap body and heading fonts and see them on full pages built from shadcnblocks components. You can also browse every preset that uses a given font from its font page, such as /fonts/geist.
FAQ
What is the default font in Shadcn UI?
There isn't a single required font. Inter and Geist are the most common choices, and either is a safe starting point.
Can I use a font that isn't in the preset list?
Not through a preset code, since presets only encode the fonts listed here. You can install any font yourself after applying a preset and update your CSS.
Should headings and body use different fonts?
They don't have to. Setting fontHeading to inherit keeps things consistent. A separate heading font is useful when you want a distinct editorial or brand voice.
Will changing fonts affect my colors or radius?
No. --only font applies just the font settings from a preset and leaves your theme and style alone.