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.
10 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.
NavigationA tab list with three panels, arrow-key, Home and End support and roving tabindex, built with the XON tabs words.
UtilitiesA small task list with add, tick, delete, filter and clear-done, with the count announced in a live region and nothing sent anywhere.
FeedbackInformation, success, warning and error banners with an icon, a heading, a dismiss button and the right live-region role for each kind.
Data DisplayA bar chart drawn as inline SVG from one data list, with a table view, a sort switch and focusable bars that read out their value.
FeedbackA stack of short messages in a polite live region: info, success and error toasts that dismiss themselves, pause on hover and clear with Escape.
PricingA two-option billing switch that changes three example plan prices between monthly and yearly and works the saving out from the prices.
MediaTwo stacked local SVG pictures with a range input that moves a divider between them, and the split read out as a percentage.
UtilitiesButtons that copy a line of code, say so for three seconds in a live region, and select the text for a keyboard copy when the clipboard is missing.
UtilitiesA switch between light and dark that follows the system setting until the visitor chooses, and remembers the choice where storage is allowed.
Try our online code playground to experiment with these snippets and create your own projects.