Playground

Try Granularity in the browser

A full editor on its own domain. It compiles single-file components as you type, shows the result at three widths and keeps the code in the link, so you can paste it straight into an issue.

Open the playgroundStart from a blank file

Vue 3.5.42 · @feugene/granularity 1.1.1 · @feugene/granum 2.1.0

Start from a screen

All 8 screens from Examples, file for file, and an empty start. Each opens in the playground with a link of its own.

Browse the examples

What it does for you

The link is the save

Every edit is written into the address, and Share copies it. Nothing is kept on a server: the link is the only copy, and it is all a bug report needs.

The same files as Examples

Templates are read from the sources of the example screens at build time. Change an example and the playground changes with it.

Take it home

Export hands you a project that runs: package.json with exact versions, the Vite and granum configs, an entry point and your files. Copy it or download a .zip.

Why a separate domain. The playground runs code from links anyone can prepare. It lives on play.granularity.tech, a different origin, so such code never runs next to the documentation.