Playroom
Guidelines for prototyping using Playroom
Select "Open in Playroom" to get started with the example below.
With Playroom, you can test different screen sizes and themes, share links to prototypes, and use all system components without needing to import anything.
You can control Playroom state and interactivity using the variables and functions that are injected into the global context:
// StatesetDefaultState(key, value)getState(key)setState(key, value)toggleState(key)resetState()// ThemeaccentmodesetAccent(accent)setMode(mode)// CSSvars