Playground

Write a Rocket component and try it live. The preview runs in a sandbox with every community component available. Switch to TypeScript, or start JavaScript with // @ts-check, to check the code against Datastar's types.

Size: 383 B min+br · 753 B min · 978 B raw
Saving creates a permanent link anyone can open. Then you can submit it as a component.