Forms & inputs

Components

Component

A one-time code input split into boxes. Typing advances, Backspace steps back, arrow keys, Home and End move between boxes, and pasting or SMS autofill spreads the whole code. Numeric or alphanumeric, optional visual grouping such as 3 + 3, one group label for screen readers, error and hint text, onComplete, and a hidden input for form submission.

Forms & inputs · Chomodo Studio 0 likes 0 installs
Block

A two-step appointment chooser. A week strip of day pills (weekday, date and a small count of open times) with previous and next week arrows sits above a grid of time slots for the chosen day, grouped into Morning, Afternoon and Evening. Unavailable slots are struck through and disabled. Picking a slot expands it in place into a confirm row ('Tue 18 Nov, 10:30 to 11:00 · Confirm') instead of a separate button. A time zone switch re-renders every label in the viewer's or the host's zone with Intl, and a 15/30/60 minute toggle regenerates the slots. Slots come from an async getSlots(date, duration) or a fixed map, with skeletons while a day loads, min and max dates and a jump to the next open day. The strip and each slot group are keyboard radiogroups, focus moves to Confirm after a choice, and the chosen time is announced. At phone width the strip shows five days and swipes.

Forms & inputs · Chomodo Studio 0 likes 0 installs