SlideTitle
Primary heading for a slide. Renders an<h1> with responsive sizing that scales from text-4xl to text-7xl.
Props
The title text content
Additional CSS classes to override default sizing or styling
Usage
Custom sizing
Override the default responsive scale:The default sizing is
text-4xl sm:text-5xl md:text-6xl lg:text-7xl with -0.04em letter spacing and font-black weight.SlideSubtitle
Secondary text below a title. Renders a<p> in a muted foreground color with responsive sizing (text-lg to text-2xl).
Props
The subtitle text content
Additional CSS classes for custom styling
Usage
Uses
text-muted-foreground color for visual hierarchy. Default sizing is text-lg sm:text-xl md:text-2xl.SlideBadge
Small pill-shaped label, typically placed above a title to categorize the slide (e.g., component name, topic tag).Props
The badge text content
Additional CSS classes for custom styling
Usage
Multiple badges
Renders as an inverted pill (
bg-foreground text-background) with rounded corners, text-sm, and font-semibold.SlideHeaderBadge
Italic accent text for slide headers — use for event names, series labels, or other branding above the title.Props
The header badge text content
Additional CSS classes for custom styling
Usage
For branding
Renders in italic style with
text-xl sm:text-2xl sizing and font-semibold weight.SlideNote
Small footnote text in a faded color, typically placed at the bottom of a slide for annotations or caveats.Props
The note text content
Additional CSS classes for custom styling
Usage
Multiple notes
Uses
text-muted-foreground with text-base sm:text-lg sizing for subtle annotations.Complete Example
Combining multiple typography components:Styling Patterns
Custom colors
Override text colors using Tailwind utilities:Custom fonts
Apply different font families:Responsive overrides
Customize responsive behavior:Responsive Behavior
All typography components scale automatically:- SlideTitle:
text-4xl → text-5xl → text-6xl → text-7xl - SlideSubtitle:
text-lg → text-xl → text-2xl - SlideHeaderBadge:
text-xl → text-2xl - SlideNote:
text-base → text-lg - SlideBadge: Fixed
text-sm
className prop.