A pure WebBlocks UI site about WebBlocks UI

This demo explains the project, the layer model, shipped primitives, patterns, and JavaScript behavior using only package assets and shipped wb-* classes.

Source-visible UI system

WebBlocks UI - UI building blocks for humans and AI.

WebBlocks UI is a primitive-driven, pattern-oriented UI library for admin panels, SaaS screens, CMS surfaces, and documentation pages. The current architecture is explicit: foundation, utilities, layout, primitives, patterns, and icons.

What this page is proving

WebBlocks UI is capable of documenting itself without a separate presentation layer. This guide does not add helper CSS, utility scripts, or invented classes.

What ships with the package

Architecture layers
6
Foundation, utilities, layout, primitives, patterns, icons
Dependencies
0
No framework requirement for the package itself
JavaScript
14+
Theme, overlays, navigation, feedback, and disclosure modules
Icons
173
Class-based mask-image icon usage

Live HTML workflow

Open the Playground when you want to test WebBlocks HTML live.

Write plain HTML, preview it with the real WebBlocks CSS, icons, and JavaScript, and quickly validate AI-generated or hand-written snippets without leaving the docs surface.

Read the system in the right order

Start from a real shipped example

When the page job is already clear, copying the nearest pattern example from this guide is safer than rebuilding the screen from memory. Start with the whole structure, replace the content, then trim aggressively.

Useful tools while you build

Core principles

HTML stays HTML

WebBlocks does not require framework wrappers to be useful. You write explicit markup and attach shipped classes.

Pattern-first workflow

Start from the page job, then inspect the surfaces and primitives used by that pattern, then refine with utilities.

Small correct layers

Tokens stay in foundation, structure stays in layout, controls stay in primitives, framed content regions stay in surfaces, and full screens stay in patterns.