Switch
A toggle built on a native checkbox with role="switch". A labeled Switch is a full-width settings row — text on the left, the control pinned right — so a stack of them under a divide-y reads as a settings list.
Installation
Copy the piece into your app — it compiles with your build and the code is yours:
puzzle add piece switch
Requires the pieces.css tokens merged into your app styles (see Introduction).
Usage
import Switch from '@/components/ui/Switch.pzl';
<Switch label="Wi-Fi" checked={ wifi } @change={ setWifi } />