CSS Toggle Switch Generator
Generate a pure-CSS toggle switch — a real checkbox styled with :checked, no JavaScript. Set size, colors, radius and animation speed, pick a scoped class name, and copy accessible HTML + CSS.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Switch Style
track, slim, outlined Width (px)
24 <= x <= 160Height (px)
12 <= x <= 80Border Radius (px)
0 <= x <= 40Off Color
On Color
Knob Color
Animation (ms)
0 <= x <= 1000Knob shadow
Class Name
Label Text
Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.