shadcnpreview
Guides

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 to inherit to 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.

FontCharacterGood for
InterNeutral, very legible at small sizesAlmost anything, dashboards
GeistModern, tight, technicalSaaS, developer products
DM SansGeometric, friendly, low contrastMarketing sites, editorial body text
ManropeGeometric with a modern edgeSaaS, fintech, luxury
FigtreeWarm and roundedConsumer apps, playful brands
OutfitGeometric, slightly display-likePlayful products, headings
Nunito SansSoft and approachableWellness, education
Public SansPlain and institutionalGovernment, corporate, data
IBM Plex SansEngineered, slightly quirkyDashboards, enterprise
Source Sans 3Humanist, highly readableLong-form UI, corporate
Instrument SansCrisp, contemporaryEditorial, creative studios
RobotoFamiliar, mechanicalAndroid-adjacent and data-heavy apps
Noto SansNeutral, huge language coverageMultilingual products
MontserratWide, bold geometricHeadings, brand-forward sites
RalewayElegant, thin at light weightsBoutiques, 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.

FontCharacter
LoraWarm, calligraphic, readable
MerriweatherSturdy and screen-friendly
Playfair DisplayHigh-contrast, fashion and magazine
Noto SerifClassic and neutral
EB GaramondLiterary and old-style
Instrument SerifCondensed, stylish display serif
Roboto SlabSlab 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:

HeadingBodyFeelExample
MerriweatherDM SansWarm editorialGreen Willow
LoraInstrument SansCraft, food, lifestyleAmber Copper
Playfair DisplayManropeLuxury, fashionFuchsia Atelier
EB GaramondMontserratElegant, premiumMauve Velvet
Instrument SerifGeist MonoTechnical meets editorialStone Paper
Roboto SlabPublic SansCorporate, trustworthyBlue Bastion
OxaniumJetBrains MonoRetro, synthwaveCyan Synth
OutfitNunito SansPlayful, roundedFuchsia Bubble
ManropeGeistClean SaaSSky 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 fontHeading such 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.
Aa
ContinueCancelNew
you@example.com

Amber Gazette

Sera · Amber + Stone · Noto Serif / Public Sans

b5AzLdyGzD

Try 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.