The essentials

Deployment

Static output. Anywhere you like.

Build

npm run build

Deploy the contents of dist/. The generated site needs no Node.js runtime.

GitHub Pages

The repository includes a GitHub Actions workflow that runs lint, tests, and a production build before deploying Pages. Set repository Pages source to GitHub Actions. The docs default base is /blocks-ui/.

Other hosts

For a root-domain deployment, build the documentation with BASE_PATH=/ npm run build. Netlify, Cloudflare Pages, and any static file host can serve the result.

Metadata

Production output includes page titles, descriptions, canonical URLs, Open Graph metadata, sitemap.xml, robots.txt, and a custom 404 document.

Performance and support

The library targets current Chrome, Edge, Firefox, and Safari. Native details, dialog, grid, and ES modules are used without polyfills. Color scheme and reduced motion follow user preferences. External images in the gallery example require network access.

Edit this page on GitHub

Search documentation

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