Playground

The real source of Starfield, with its examples. Change anything; the preview runs in a sandbox. Switch to TypeScript, or start JavaScript with // @ts-check, to check the code against Datastar's types.

Size: 1.5 kB min+br · 3.1 kB min · 6.1 kB raw
Saving creates a permanent link anyone can open. Then you can submit it as a component.