Typography

Text styles for headings, paragraphs, lead text, blockquotes, lists, inline code, and more.

Headings

Use sui-h1 through sui-h4 to apply heading styles to any element.

This is heading 1
This is heading 2
This is heading 3
This is heading 4
<div class="sui-h1">This is heading 1</div>
<div class="sui-h2">This is heading 2</div>
<div class="sui-h3">This is heading 3</div>
<div class="sui-h4">This is heading 4</div>

Paragraph & Lead

Default <p> tags are already styled. Use sui-lead for introductory text that stands out.

A neumorphic design system built with soft shadows and modern CSS. Everything you need to create beautiful, tactile interfaces.

The default paragraph style uses a comfortable line height and muted color for readability. It pairs well with headings and other typographic elements to create clean, scannable content blocks.

<p class="sui-lead">A neumorphic design system built with soft shadows and modern CSS. Everything you need to create beautiful, tactile interfaces.</p>

<p>The default paragraph style uses a comfortable line height and muted color for readability. It pairs well with headings and other typographic elements to create clean, scannable content blocks.</p>

Large & Small

Use sui-large for emphasized text and sui-small for supplementary details.

This is large emphasized text This is small supplementary text for captions and footnotes
<span class="sui-large">This is large emphasized text</span>
<span class="sui-small">This is small supplementary text for captions and footnotes</span>

Muted

Use sui-muted for de-emphasized secondary text.

Account Settings Manage your account preferences, notifications, and privacy settings.
<span class="sui-h4">Account Settings</span>
<span class="sui-muted">Manage your account preferences, notifications, and privacy settings.</span>

Blockquote

Use sui-blockquote for quoted text with a left border accent.

"Good design is as little design as possible. Less, but better — because it concentrates on the essential aspects, and the products are not burdened with non-essentials."
"Simplicity is the ultimate sophistication."
<blockquote class="sui-blockquote">
  "Good design is as little design as possible. Less, but better — because it concentrates on the essential aspects, and the products are not burdened with non-essentials."
</blockquote>

<blockquote class="sui-blockquote">
  "Simplicity is the ultimate sophistication."
</blockquote>

Lists

Use sui-list for styled lists. Add sui-list-none to remove bullets and padding.

Unordered
  • Neumorphic shadows
  • Dark mode support
  • CSS custom properties
  • No dependencies
Ordered
  1. Install the library
  2. Add your markup
  3. Customize variables
  4. Ship it
No bullets
  • Buttons
  • Cards
  • Forms
  • Modals
<!-- Unordered -->
<ul class="sui-list">
  <li>Neumorphic shadows</li>
  <li>Dark mode support</li>
  <li>CSS custom properties</li>
  <li>No dependencies</li>
</ul>

<!-- Ordered -->
<ol class="sui-list">
  <li>Install the library</li>
  <li>Add your markup</li>
  <li>Customize variables</li>
  <li>Ship it</li>
</ol>

<!-- No bullets -->
<ul class="sui-list sui-list-none">
  <li>Buttons</li>
  <li>Cards</li>
  <li>Forms</li>
  <li>Modals</li>
</ul>

Inline Code

Use sui-code for inline code snippets with monospace font and a subtle background.

Install the package with bun add softui and import softui.css in your entry file.

The --sui-primary variable controls the accent color across all components.

<p>Install the package with <span class="sui-code">bun add softui</span> and import <span class="sui-code">softui.css</span> in your entry file.</p>

<p>The <span class="sui-code">--sui-primary</span> variable controls the accent color across all components.</p>

Horizontal Rule

Use sui-hr for a subtle divider between content sections.

First section of content ends here.


Second section begins after the divider.

<p>First section of content ends here.</p>
<hr class="sui-hr">
<p>Second section begins after the divider.</p>

Combined

A realistic article layout using the typography classes together.

Getting Started with SoftUI

Build modern, tactile interfaces with neumorphic design — no JavaScript frameworks required.

Installation

Add SoftUI to your project with bun add softui or include the CSS file directly via a CDN link.

Features
  • 40+ components and utilities
  • Full dark mode via CSS custom properties
  • Lightweight — no runtime dependencies
  • Responsive and accessible
"SoftUI makes neumorphic design practical. The shadow system just works."

Last updated March 2026
<div class="sui-h2">Getting Started with SoftUI</div>
<p class="sui-lead">Build modern, tactile interfaces with neumorphic design — no JavaScript frameworks required.</p>

<div class="sui-h3">Installation</div>
<p>Add SoftUI to your project with <span class="sui-code">bun add softui</span> or include the CSS file directly via a CDN link.</p>

<div class="sui-h3">Features</div>
<ul class="sui-list">
  <li>40+ components and utilities</li>
  <li>Full dark mode via CSS custom properties</li>
  <li>Lightweight — no runtime dependencies</li>
  <li>Responsive and accessible</li>
</ul>

<blockquote class="sui-blockquote">"SoftUI makes neumorphic design practical. The shadow system just works."</blockquote>
<hr class="sui-hr">
<span class="sui-muted">Last updated March 2026</span>

Delete this item?

This action cannot be undone. This will permanently delete the item and remove all associated data.