Slidebox
Elastic native checkboxes and radio groups.
Adjust the geometry, colors, and timing below.
Shape & movement
Off by default. Enable to drag the switch thumb; clicks and keyboard controls still work. Dragging is an experimental, opt-in JavaScript enhancement.
Colors
Motion
Elastic and Bounce use sampled CSS linear() curves to retain the overshoot.
Fixed geometry presets
Checkboxes
| Name | nabous.dev | Browser colors | Width | Spacing | Deform |
|---|---|---|---|---|---|
| ×2 | 0.33 | 0.1 | |||
| ×2.5 | −0.33 | 0.1 | |||
| ×1.6 | 0.03 | 0 |
Compare nabous.dev glass with browser/system colors. Both columns keep their own palette; motion follows the playground settings. Material UI and Old iOS are geometry presets, not exact replicas or framework integrations.
Radio group & browser controls
Range slider
Native input, no JavaScript required for styling or interaction. Spacing, palette, and motion follow the playground settings above.
Try the arrow keys. The slider works without JavaScript; directional motion and progress fill are independent, optional enhancements.
Add it to your project
npm install @monabbous/slidebox
Use plain CSS, Sass or Less mixins, or the Tailwind v3/v4 plugin. Set your defaults and override individual controls.
Read the usage guide