WebBlocks UI Documentation
Read from the inside out

The docs begin with structure, not promotion.

Start with foundations, because every other file depends on them. Then move into layouts, then components, then utilities and JavaScript. The system is intentionally ordered so you can understand how a page comes together without guessing where a behavior or token originated.

Reading order

A practical path through the system.

If you are new to the library, follow this order. It mirrors the order of the build and the way a real page is assembled.

  1. Foundation

    Read the token system, theme axes, and the rules around accent, radius, border, density, and font.

  2. Layouts

    Choose the shell first: container, dashboard, auth, settings, or content.

  3. Components

    Add the pieces the page needs: forms, tables, alerts, overlays, lists, filters, navigation.

  4. Utilities and JS

    Only then reach for spacing helpers, visibility helpers, and behavioral modules.

Build model

The docs follow the build order because the build order matters.

WebBlocks is not assembled by an opaque toolchain. The final bundle is the result of an explicit file list. If a token or layout primitive appears earlier in the build, it is because later layers depend on it.

foundation/
base/
components/
layouts/
utilities/

./build.sh