Typography
Type scale, font families, weights, and text utilities
Font Families
RDS uses the Geist font family from Vercel for both sans-serif and monospace text.
Geist Sans
Used for all UI text, headings, and body content. Clean and modern.
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 !@#$%^&*()
font-sansGeist Mono
Used for code blocks, file paths, and technical content.
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789 !@#$%^&*()
font-monoType Scale
Complete typographic scale from 12px to 128px for all text sizing needs.
text-xsThe quick brown fox jumps over the lazy dog
text-smThe quick brown fox jumps over the lazy dog
text-baseThe quick brown fox jumps over the lazy dog
text-lgThe quick brown fox jumps over the lazy dog
text-xlThe quick brown fox jumps over the lazy dog
text-2xlThe quick brown fox jumps over the lazy dog
text-3xlThe quick brown fox jumps over the lazy dog
text-4xlThe quick brown fox jumps over the lazy dog
text-5xlThe quick brown fox jumps over the lazy dog
text-6xlThe quick brown fox jumps over the lazy dog
text-7xlThe quick brown fox jumps over the lazy dog
text-8xlThe quick brown fox jumps over the lazy dog
text-9xlThe quick brown fox jumps over the lazy dog
Font Weights
Font weight utilities from thin (100) to black (900).
font-thinThe quick brown fox jumps over the lazy dog
font-extralightThe quick brown fox jumps over the lazy dog
font-lightThe quick brown fox jumps over the lazy dog
font-normalThe quick brown fox jumps over the lazy dog
font-mediumThe quick brown fox jumps over the lazy dog
font-semiboldThe quick brown fox jumps over the lazy dog
font-boldThe quick brown fox jumps over the lazy dog
font-extraboldThe quick brown fox jumps over the lazy dog
font-blackThe quick brown fox jumps over the lazy dog
Letter Spacing
Tracking utilities for adjusting letter spacing.
tracking-tighterLETTER SPACING EXAMPLE
tracking-tightLETTER SPACING EXAMPLE
tracking-normalLETTER SPACING EXAMPLE
tracking-wideLETTER SPACING EXAMPLE
tracking-widerLETTER SPACING EXAMPLE
tracking-widestLETTER SPACING EXAMPLE
Line Heights
Leading utilities for adjusting line height.
leading-none1This is an example of text with leading-none applied. Notice how the lines are spaced differently. This affects readability.
No extra line height
leading-tight1.25This is an example of text with leading-tight applied. Notice how the lines are spaced differently. This affects readability.
Compact headings
leading-snug1.375This is an example of text with leading-snug applied. Notice how the lines are spaced differently. This affects readability.
Slightly compact
leading-normal1.5This is an example of text with leading-normal applied. Notice how the lines are spaced differently. This affects readability.
Default line height
leading-relaxed1.625This is an example of text with leading-relaxed applied. Notice how the lines are spaced differently. This affects readability.
Comfortable reading
leading-loose2This is an example of text with leading-loose applied. Notice how the lines are spaced differently. This affects readability.
Extra spacing
Text Colors
Semantic text color utilities for consistent hierarchy.
text-foreground
Primary text, headings
text-muted-foreground
Secondary text, descriptions
text-primary
Links, interactive text
text-destructive
Error messages, warnings
text-gray-950
Primary brand accent
text-green-600
Success states
text-yellow-600
Warning states
text-blue-600
Informational states
Common Patterns
Recommended typography patterns for consistent UI.
Page Headers
Page Title
A brief description of what this page is about.
<h1 className="text-4xl font-bold tracking-tight">
Page Title
</h1>
<p className="text-lg text-foreground">
Description
</p>Section Headers
Section Title
Supporting text that provides context.
<h2 className="text-2xl font-semibold">
Section Title
</h2>
<p className="text-foreground">
Supporting text
</p>Card Headers
Card Title
Card description or subtitle text.
<h3 className="text-lg font-semibold">
Card Title
</h3>
<p className="text-sm text-muted-foreground">
Card description
</p>Labels & Captions
Field Label
Helper text or caption below the field.
<p className="text-sm font-medium">
Field Label
</p>
<p className="text-xs text-muted-foreground">
Helper text
</p>Usage
Examples
/* Font Size */
<p className="text-sm">Small text</p>
<p className="text-base">Base text</p>
<p className="text-lg">Large text</p>
/* Font Weight */
<p className="font-normal">Normal weight</p>
<p className="font-semibold">Semibold weight</p>
<p className="font-bold">Bold weight</p>
/* Combined */
<h1 className="text-4xl font-bold tracking-tight">
Hero Heading
</h1>
/* Monospace for code */
<code className="font-mono text-sm">
const example = true;
</code>