Controls
with a click
you can feel.
Switches, checkboxes, radios, sliders, inputs and chips, engineered like hardware. Every module is a real form input underneath.
- BASE
- Native <input> elements
- VALUES
- Submit with any form
- EXPORT
- HTML · CSS · JS
- DEPENDENCIES
- None
- LICENSE
- MIT
Every control,
one panel.
Each module is a native input. Click a module to operate it. Use Tune to adjust parameters and copy the code.
Shared engines 13.90 KB gzip plus the selected skin. Standalone controls ≤ 2.97 KB gzip.
What is Switchboard?
Switchboard (formerly Toggle & Form Lab) is a free, MIT-licensed kit by ZirkoMirko with 92 form controls. Each skin wraps a real native input, so forms submit, labels click, keyboard keys work and screen readers announce state, and it fires one native change per user action. ZM.form.matchButton copies a Button Factory button's colours and radius onto every control in a form. Each control exports as standalone HTML, CSS and JS under 3 KB gzip, with reduced-motion fallbacks.
How it works
- Open the lab, touch the hero card or hover the tiles, and open the control you want, for example the jelly switch.
- Copy the HTML, CSS and JS parts, or ask your agent: give my settings page switches that feel like jelly.
- Paste the parts and add data-zm-form="jelly" to a native checkbox. Optionally call ZM.form.matchButton(form, button) to match your submit button.
FAQ
- Is the Toggle & Form Lab free?
- Yes. It is free and MIT licensed.
- Do the controls still work as normal form fields?
- Yes. Every skin wraps a real native input, so forms submit, labels click, Space and arrow keys work, and screen readers announce the state.
- Does it need React or another library?
- No. Each exported control is plain HTML, CSS and JavaScript with no dependencies, under 3 KB gzip.
- What about reduced motion?
- With reduced motion the controls jump to their end state with no wobble or shake, and errors still show.
Wire it from
a prompt.
Your coding agent can pull any module by id.
“give my settings page switches with a real click”
zm_call("form-lab", "get", { id: "jelly" })