Skip to main content
239

Search Lumen

Find components, APIs, guides, and recipes.

GitHub
Themes
Foundations docs

Fonts and typography: A voice for your interface.

Start with bundled Inter. Choose another family when it suits your product, and carry that choice through every Lumen component with one token.

Variable families
5
Web subsets
2
Delivery
Local

Ready with your components

The web foundation registers and self-hosts Inter. Astro components import the foundation automatically; React and Web Components import it once at the application boundary. The full adapter stylesheet includes it too. No font service, account, or separate font package is required for the default.

Lumen components read --ui-font. Set your document's font family to that token so ordinary page text follows the same choice. Keep the framework's usual component styles and runtime setup.

astro
---
import '@santi020k/lumen-astro/styles/foundation.css'
import { Button, Typography } from '@santi020k/lumen-astro'
---
<Typography>
  <h1>A clear place to start.</h1>
  <p>Inter is already included in the foundation.</p>
</Typography>
<Button>Start building</Button>
<style is:global>
  body { font-family: var(--ui-font); }
</style>

See the Astro, React, or Web Components setup guide for the complete application wiring.

Five families, rendered here

These are live text and components using the bundled faces. Each family supports a continuous weight range, with latin and latin-ext WOFF2 files on the web. The theme names below describe existing defaults; choosing a font alone does not change colors or spacing.

Inter

100–900

Lumen default · Glass · Voltage · Studio · santi020k

Make room
for good ideas.

Clear words make every next step easier. Bogotá, café, mañana: a familiar voice across your product.

0123456789 · $128.50 · 24/7

Regular 400Semibold 650Bold 800
css
@import '@santi020k/lumen/fonts/inter.css';

:root {
  --ui-font: "Lumen Inter", system-ui, sans-serif;
}

Inter source · OFL-1.1

Manrope

200–800

Luminous

Make room
for good ideas.

Clear words make every next step easier. Bogotá, café, mañana: a familiar voice across your product.

0123456789 · $128.50 · 24/7

Regular 400Semibold 650Bold 800
css
@import '@santi020k/lumen/fonts/manrope.css';

:root {
  --ui-font: "Lumen Manrope", system-ui, sans-serif;
}

Manrope source · OFL-1.1

Bricolage Grotesque

200–800

Signal

Make room
for good ideas.

Clear words make every next step easier. Bogotá, café, mañana: a familiar voice across your product.

0123456789 · $128.50 · 24/7

Regular 400Semibold 650Bold 800
css
@import '@santi020k/lumen/fonts/bricolage-grotesque.css';

:root {
  --ui-font: "Lumen Bricolage Grotesque", system-ui, sans-serif;
}

Bricolage Grotesque source · OFL-1.1

Montserrat

100–900

Lumen Classic

Make room
for good ideas.

Clear words make every next step easier. Bogotá, café, mañana: a familiar voice across your product.

0123456789 · $128.50 · 24/7

Regular 400Semibold 650Bold 800
css
@import '@santi020k/lumen/fonts/montserrat.css';

:root {
  --ui-font: "Lumen Montserrat", system-ui, sans-serif;
}

Montserrat source · OFL-1.1

Geist

100–900

Aura

Make room
for good ideas.

Clear words make every next step easier. Bogotá, café, mañana: a familiar voice across your product.

0123456789 · $128.50 · 24/7

Regular 400Semibold 650Bold 800
css
@import '@santi020k/lumen/fonts/geist.css';

:root {
  --ui-font: "Lumen Geist", system-ui, sans-serif;
}

Geist source · OFL-1.1

The Lumen … family names isolate these faces from fonts your application already loads. Paper keeps its system font stack, and the santi020k appearances retain their own font choices.

One token, your choice

Import a family stylesheet from @santi020k/lumen/fonts/ or @santi020k/lumen-core/fonts/ when you want that font independently of its theme. These optional imports register faces only. Set --ui-font in your application CSS to select one; importing a font never changes the active theme.

css
/* Install @santi020k/lumen, or use @santi020k/lumen-core. */
@import '@santi020k/lumen/fonts/manrope.css';

/* App CSS overrides Lumen's layered theme defaults. */
:root {
  --ui-font: "Lumen Manrope", system-ui, sans-serif;
}

body { font-family: var(--ui-font); }

A theme stylesheet already registers the font it uses. Keep that existing import when choosing Luminous, Voltage, Studio, Aura, Signal, or Classic; a separate family import is unnecessary. To customize only part of a page, put the token on that container.

css
.product-reader {
  --ui-font: "Lumen Manrope", system-ui, sans-serif;
  font-family: var(--ui-font);
}

/* An explicit nested theme can define its own --ui-font.
   Override that same boundary if it should use your font too. */

Typography adds heading and paragraph rhythm to semantic HTML. Prose adds a readable measure for articles and rendered content. Keep heading levels meaningful, use relative sizes, and preserve browser zoom. Code surfaces use --ui-font-mono independently; it defaults to a system monospace stack.

Load only what you use

Every bundled web face uses font-display: swap. Text remains visible in a fallback while the font loads, and the browser requests a subset when rendered text needs its characters. This comparison page uses all five families; a normal page does not download every registered face.

Preload only a face used in the first screen when you have measured a benefit. Astro and Vite can resolve the exported asset URL below. Use the same URL as the stylesheet, keep crossorigin, and remove this preload if your page uses another font.

astro
---
import interLatinUrl from '@santi020k/lumen-core/fonts/inter-latin.woff2?url'
---
<link
  rel="preload"
  href={interLatinUrl}
  as="font"
  type="font/woff2"
  crossorigin
/>
<!-- Put this in the document head. Keep the foundation CSS import. -->

The adapter foundation styles resolve fonts from @santi020k/lumen-core. Add it as a direct dependency when importing its assets. If you use the umbrella @santi020k/lumen/styles.css or its font-only stylesheets, preload from @santi020k/lumen/fonts/ instead. Match the package that owns your font declaration to avoid fetching duplicate URLs.

The shipped web faces are upright. Italic styling can be synthesized by the browser; supply a real italic face when editorial fidelity matters. For characters outside the declared subsets, keep an appropriate system or application fallback. The licenses and copyright notices ship in FONT_NOTICES.md with the packages.

The same catalog, native setup

SwiftUI and Compose

SwiftUI registers its bundled fonts on first use and preserves Dynamic Type. Compose applies bundled variable fonts when theme typography is inherited on Android 8.0 or later; explicit typography keeps its own families. Both retain platform fallbacks.

Apple typography · Android typography

React Native

Register bundled assets from @santi020k/lumen-react-native/fonts with your app's font loader before rendering themed text on iOS. Handle both the loaded and error states. Android keeps system fonts unless you register suitable static weights and configure the documented family override.

React Native font registration

If a font does not appear

  • Inspect the rendered font and the computed --ui-font. A nested theme can deliberately select another family.
  • Confirm the foundation or selected family stylesheet is loaded. Use the exact Lumen … alias for bundled web faces.
  • Check font requests for a missing file, an incorrect deployment base, or a content security policy that blocks your font host. Package imports let your bundler rewrite asset URLs.
  • Keep fallback text visible after a loading error. In React Native, show a retry or continue with system typography instead of waiting on a font forever.
Foundations docsCanonical tokens