Lambda UI
v1.3.4
Stable

Typography

Manage typography settings using CSS variables for consistent font families, sizes, and weights across your application.

Overview

Lambda UI Components uses a robust typography system driven by CSS variables. This approach ensures consistency and allows for easy customization of fonts, weights, and sizes to match your brand identity.

Base Settings

The library uses Manrope Variable as the default font family, providing a wide range of weights and excellent readability for UI interfaces.


Font Family

The primary font family is defined by the --font-family variable.

--font-family
The quick brown fox jumps over the lazy dog
Value: "Manrope Variable", sans-serif

Font Weights

A comprehensive set of font weights is available via CSS variables, ranging from Extra Light (200) to Extra Bold (800).

VariableValuePreview
--font-weight-extralight200Extra Light
--font-weight-light300Light
--font-weight-regular400Regular
--font-weight-medium500Medium
--font-weight-semibold600Semibold
--font-weight-bold700Bold
--font-weight-extrabold800Extra Bold

Font Sizes

The type scale provides a wide range of sizes for any context, from tiny captions to massive display headings.

VariableValuePreview
--font-size-2xs0.625remThe quick brown fox
--font-size-xs0.75remThe quick brown fox
--font-size-sm0.875remThe quick brown fox
--font-size-md1remThe quick brown fox
--font-size-lg1.125remThe quick brown fox
--font-size-xl1.25remThe quick brown fox
--font-size-2xl1.5remThe quick brown fox
--font-size-3xl1.875remThe quick brown fox
--font-size-4xl2.25remThe quick brown fox
--font-size-5xl2.5remThe quick brown fox
--font-size-6xl3remThe quick brown fox
--font-size-7xl3.5remThe quick brown fox
--font-size-8xl4remThe quick brown fox
--font-size-9xl4.5remThe quick brown fox

Usage

You can easily use these typographic variables in your own CSS or CSS-in-JS solutions.

.my-heading {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-4xl);
  color: var(--foreground-title-color);
}

.my-text {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-md);
  color: var(--foreground-color);
}

The modern React component library.
© 2026 Lambda UI. Made with in Mexico by AletzMan.