Buttons
Press plate toggle
A bare two-state button whose filled plate cross-fades in behind its content when pressed, with the state readable and settable from outside the button itself.
Using Press plate toggle
A bare two-state button whose filled plate cross-fades in behind its content when pressed, with the state readable and settable from outside the button itself.
Try the live preview with a pointer and keyboard, then check focus visibility and the narrow layout in your own page. Use the plate number or slug when asking your coding agent to fetch this component.
Props: startPressed, accent, radius, fadeMs, showControls
Which frameworks are available?
The catalog lists these versions: react, vue, svelte, astro, html. The live preview on this page runs React.
How do I access the implementation?
The code, framework versions and installation commands are available in the workbench above.