Button
A button with five variants, three sizes, and a loading state. Fires a @press callback; disabled and loading both block it.
Installation
Copy the piece into your app — it compiles with your build and the code is yours:
puzzle add piece button
Requires the pieces.css tokens merged into your app styles (see Introduction).
Usage
import Button from '@/components/ui/Button.pzl';
<Button variant="primary" @press={ getStarted }>Get started</Button>