nabous.dev

Slidebox

Elastic native checkboxes and radio groups.
Adjust the geometry, colors, and timing below.

View examples

Elastic switch

Native checkbox · CSS motion
Checked
CONTROLS / GEOMETRY

Shape & movement

02 / GEOMETRY
03 / EXPERIMENTAL

Off by default. Enable to drag the switch thumb; clicks and keyboard controls still work. Dragging is an experimental, opt-in JavaScript enhancement.

04 / APPEARANCE

Colors

05 / EASING

Motion

Direction
01
easeInOutSine

Elastic and Bounce use sampled CSS linear() curves to retain the overshoot.

EXAMPLES

Fixed geometry presets

CHECKBOXES / COLOR COMPARISON

Checkboxes

Toggle each example to compare. These geometry presets stay fixed while you adjust the playground.
Namenabous.devBrowser colorsWidthSpacingDeform
×20.330.1
×2.5−0.330.1
×1.60.030

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.

NATIVE INPUTS

Radio group & browser controls

Grouped radio buttons
Selected: week
06 / RANGE

Range slider

Experimental

Native input, no JavaScript required for styling or interaction. Spacing, palette, and motion follow the playground settings above.

Experimental range

Try the arrow keys. The slider works without JavaScript; directional motion and progress fill are independent, optional enhancements.

INSTALL

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