FormsMulti-step Form
A three-step form with a step list, back and next buttons, a check on each step before you move on and a review step. Written with XON.
Ready-to-use HTML, CSS and JavaScript with a live preview. Copy the code or open any snippet in the playground.
6 snippets
FormsA three-step form with a step list, back and next buttons, a check on each step before you move on and a review step. Written with XON.
UtilitiesA small task list with add, tick, delete, filter and clear-done, with the count announced in a live region and nothing sent anywhere.
FormsA contact form with per-field rules, messages tied to each field and an error summary that links to the first problem, using XON.
FormsText, email, number, search and multi-line fields with a label, a hint and an error line tied to the field, switched on by the browser's own checks.
FormsA group of settings-style switches built on real checkboxes with role switch, visible On and Off text and a disabled example.
FormsStyled native checkboxes, radio buttons, option cards and chip toggles that keep their keyboard behaviour, group labels and a strong focus ring.
Try our online code playground to experiment with these snippets and create your own projects.