Fluid Framework
A modern, semantic design system. Like water: adaptable, natural, powerful yet gentle. Every element below represents the foundation.
Typography
Heading One
Heading Two
Heading Three
Heading Four
Heading Five
Heading Six
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.
Good design is as little design as possible. Less, but better, because it concentrates on the essential aspects. Dieter Rams
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
- 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
- Define your design tokens
- Apply semantic structure
- Let the cascade do the work
- 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
Tables
| 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
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.
You can highlight important information with the mark element.
Horizontal rules provide visual separation without being heavy-handed.
Design Tokens
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)