One-page starter

Hello World

Your first website, with a step-by-step tutorial.

New to Blocks UI? Follow the Hello World tutorial to turn this minimal starter into the finished two-page example.

Included pages

Home.

Create your website

node packages/cli/index.js create my-hello-world --template hello-world

Run from your Blocks UI checkout. Then install the generated project's development dependencies and start the local server.

cd my-hello-world
npm install
npm run dev
Built from the same blocks.

The preview below shows one canonical block used by this starter. Open the finished website example to see what you can build.

Open website example View template source

Make it yours

Edit pages in pages/, shared content in fragments/, and the document shell in layouts/. Blocks live in your own source tree. Run npm run build and deploy dist/ anywhere.

Search documentation

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