Typography
A comprehensive type system designed for digital products, with a focus on readability and visual hierarchy.
Font Size Scale
HTML Elements
Lists
Unordered List
- Clean and Blueprint design patterns
- Responsive components
- Mobile-first approach
- Adaptive layouts
- Accessibility best practices
- Dark mode support
Ordered List
- Install dependencies
- Configure your project
- Set up environment
- Import required modules
- Start development
- Deploy your application
Blockquote
Good design is actually a lot harder to notice than poor design, in part because good designs fit our needs so well that the design is invisible.
ā Don Norman, The Design of Everyday Things
Table
Component | Category | Status | Version |
---|---|---|---|
Button | Core | Stable | 1.0.0 |
Input | Form | Beta | 0.9.0 |
Card | Layout | Stable | 1.2.0 |
Modal | Overlay | Beta | 0.8.5 |
Usage Examples
Lists
<ul>
<li>First item</li>
<li>Second item
<ul>
<li>Nested item</li>
</ul>
</li>
</ul>
<ol>
<li>First step</li>
<li>Second step</li>
</ol>
Blockquote
<blockquote>
<p>Quote text goes here</p>
<cite>ā Author Name</cite>
</blockquote>
Table
<table>
<thead>
<tr>
<th>Header</th>
<th align="center">Centered</th>
<th align="right">Right</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data</td>
<td align="center">Centered</td>
<td align="right">Right</td>
</tr>
</tbody>
</table>
Usage
Headings
Use heading classes either directly on heading elements or with the class names. All heading styles are responsive and will automatically adjust at the lg
breakpoint:
<!-- Using semantic HTML -->
<h1>Build beautiful interfaces</h1>
<h2>Core features</h2>
<!-- Using classes -->
<div class="h1">Build beautiful interfaces</div>
<div class="h2">Core features</div>
<!-- All heading components use mobile-first responsive design -->
<!-- For example, h1 is defined as: -->
<!-- @apply lg:text-7xl text-[3.5rem] leading-[0.9] font-sans; -->
Body Text
Apply body text classes to any text element:
<p class="text-body-large">Main feature description</p>
<p class="text-body">Detailed explanation of features</p>
<p class="text-body-small">Additional information</p>
<span class="text-body-xsmall">Copyright notice</span>
<span class="text-overline p-6">SECTION LABEL</span>
<!-- The small tag is automatically styled as overline text -->
<small>CAPTION TEXT</small>
Responsive Behavior
Blueprint's typography system is designed to be responsive by default. Font sizes adjust automatically based on viewport size, ensuring optimal readability across devices.
The typography system uses container queries for component-level responsiveness, allowing text to adapt based on its container size rather than just the viewport size.
Customizing & Exporting Typography
Blueprint UI Library allows you to customize and export typography variables through the Theme Customizer.
Available Export Options
- Typography Only - Export just your customized typography settings
- Colors Only - Export just your customized color variables
- All Theme Variables - Export both typography and colors together
How to Export Typography
- Open the Theme Customizer by clicking the theme icon in the navigation
- Navigate to the Typography tab
- Customize your typography settings as needed
- Click the "Export" dropdown button
- Select "Export Typography Only" from the dropdown menu
- The typography.css file will be downloaded to your device
The exported CSS file contains all your customized typography variables in CSS variable format, ready to be used in any web project.
Typography Variables Structure
Typography variables are organized into logical groups:
- Headings - Variables for h0 through h6 heading styles
- Body Text - Variables for body text in different sizes (large, default, small, xs)
- Font Weights - Variables for different font weight values
- Overline - Variables for overline text styling
- Other Typography - Additional typography-related variables