Forms & inputs

Components

Component

A month calendar for single dates or date ranges where selection feels continuous. In single mode a filled pill glides from the old day to the new one; in range mode the first click sets the start, hovering previews the band across the days in between and the second click sets the end. Months slide in the direction you move and today has a thin ring. A preset rail (Today, Last 7 days, This month, Next weekend or your own) sits beside the grid in wide containers and turns into chips above it in narrow ones, and a second month appears on its own when there is room. Supports min and max, a disabled(date) callback, per-day annotations such as dots or prices, any week start and Intl month and weekday names. Keyboard: arrows by day or week, PageUp/PageDown by month (Shift for a year), Home/End for the week, Enter to select; the range is also described in text.

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