The essentials

Project structure

Small files. Predictable places.

Repository

blocks/          Canonical website blocks
components/      Native UI primitives
runtime/         Optional standalone loader
styles/          Tokens and shared foundation
registry/        Catalog and registry generator
packages/cli/    Copy-and-own installation
packages/site/   Multi-page development toolkit
templates/       Complete website starters
docs/            Documentation content and assets
examples/        Standalone and EDS examples
tests/           Unit and browser checks

A block

Each block lives in a folder named after it. HTML is the authored example, CSS is scoped to the block class, and JavaScript exports a default decorate function. Metadata is indexed in registry/catalog.js.

A website

Generated projects use pages/, layouts/, fragments/, and assets/. Source blocks stay editable in blocks/. The production output goes into dist/.

Edit this page on GitHub

Search documentation

Search the docs, components, and blocks. Use Tab to select a result.