Fluid Framework

A modern, semantic design system. Like water: adaptable, natural, powerful yet gentle. Every element below represents the foundation.

Typography

<h1> - <h6> MDN

Heading One

Heading Two

Heading Three

Heading Four

Heading Five
Heading Six
<p> Paragraph MDN

Typography should feel natural, like words flowing on a page. Notice how this paragraph has comfortable line height and optimal character width. The text includes strong emphasis, italic styling, and links that invite exploration.

A second paragraph demonstrates the vertical rhythm between blocks of text. The spacing isn't cramped, nor is it too generous. It breathes.

<blockquote> MDN
Good design is as little design as possible. Less, but better, because it concentrates on the essential aspects. Dieter Rams
<code> & <pre> MDN

Inline code like const fluid = true; integrates naturally with prose.

// Code blocks have room to breathe
function createTheme(name, tokens) {
  return {
    name,
    ...tokens,
    apply: () => {
      document.documentElement.dataset.theme = name;
    }
  };
}

Lists

<ul> Unordered List MDN
  • Modern CSS features: layers, custom properties, container queries
  • Semantic HTML: meaningful elements over div soup
  • Progressive enhancement: works without JavaScript
    • Base functionality first
    • JavaScript enhances, never gates
  • Accessibility built-in, not bolted on
<ol> Ordered List MDN
  1. Define your design tokens
  2. Apply semantic structure
  3. Let the cascade do the work
<dl> Definition List MDN
Fluid
Flowing freely, adaptable, natural in movement.
Semantic
Relating to meaning; using elements for their intended purpose.
Progressive Enhancement
Building a solid foundation, then adding layers of capability.

Form Elements

<input> Text Inputs MDN
<textarea> MDN
<select> MDN
<button> MDN

Tables

<table> MDN
Token Value Usage
--space-4 1rem Standard padding
--space-5 1.25rem Component spacing
--space-8 2rem Section spacing
--space-16 4rem Large sections

Interactive Elements

<details> & <summary> MDN
Why "Fluid"?

Because good design flows. It adapts to its container, responds to user preferences, and never fights against the natural way of the web. Like water finding its path.

No JavaScript required?

The foundation works entirely without JavaScript. Custom elements and enhanced interactions are progressive — they add capability but never gate functionality.

<mark> & <hr>

You can highlight important information with the mark element.


Horizontal rules provide visual separation without being heavy-handed.

<progress> MDN

Design Tokens

Color System
--color-primary
--color-accent
--color-text
--color-text-muted
--color-surface
--color-border
Spacing Scale
--space-1 (0.25rem)
--space-2 (0.5rem)
--space-4 (1rem)
--space-8 (2rem)
--space-16 (4rem)
Typography Scale

Extra Small (--font-size-xs)

Small (--font-size-sm)

Medium / Base (--font-size-md)

Large (--font-size-lg)

Extra Large (--font-size-xl)

2XL (--font-size-2xl)