Skip to content
Knsept
Free playbook

Forms & inputs

Inputs that are faster to fill in and harder to get wrong. Try them right here; open one for the full, commented code.

Forms & inputs try it

One-time code input

Six boxes for a verification code. Auto-advance, backspace, arrow keys, paste, and SMS autofill all work.

View code →
Forms & inputs try it

Toggle switch

An accessible on/off switch built on a real checkbox with role="switch". Keyboard, touch and screen readers work out of the box.

View code →