Components

Components

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
Hook

A React hook that counts down to a date or timestamp and returns days, hours, minutes, seconds and milliseconds left, with pause, resume and reset. Ticks align to whole seconds and read the clock each time, so slow or background tabs do not drift; onComplete fires once per run. The preview has a launch countdown with pause and reset and a one-time-code form whose resend link unlocks when its 30-second timer ends.

Alerts & toasts · Chomodo Studio 0 likes 0 installs
Component

A labelled text input with hint text, an error message wired through aria-describedby and aria-invalid, an optional leading icon or prefix, and a trailing slot for units, keyboard hints or a small TextFieldButton (for example show password). Three sizes, a disabled state, forwarded ref, and clicks on the padding focus the input.

Forms & inputs · Chomodo Studio 0 likes 0 installs
Component

A list of team events grouped under sticky day headings (Today, Yesterday, then dates). Each event shows an initials avatar tinted from the theme's chart colours, an icon for its type, the actor, verb and target, optional detail such as a quoted comment, and a relative time that updates every minute. A load-more button shows a loading state while your async loader runs.

Dashboards · Chomodo Studio 0 likes 0 installs
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 hero for developer tools: a large headline beside one sentence, two actions and a copy-to-clipboard install command, above a wide terminal that types a command and prints its output line by line, then offers a replay. Command, output lines, tones and timings are props. With reduced motion the terminal shows the finished session at once, and screen readers get the full transcript instead of the animation.

Hero sections · Chomodo Studio 0 likes 0 installs
Component

A pagination bar with page numbers and ellipses (a fixed number of slots, so it doesn't shift as you page), previous and next buttons, a rows-per-page select that keeps the current first row in view, and a "41–60 of 312" summary announced on change. In narrow containers the numbers collapse to "Page 3 of 16" using container queries. Renders buttons, or real links when given getPageHref.

Navigation · Chomodo Studio 0 likes 0 installs
Component

An accessible modal dialog rendered in a portal: focus moves in on open and returns to the trigger on close, Tab is trapped, Escape and backdrop clicks close it, page scroll is locked without layout shift, and the title and description are linked with aria-labelledby and aria-describedby. Supports role="alertdialog", nested dialogs, three sizes, a footer slot, a bottom-sheet layout on small screens and a reduced-motion-aware enter and exit.

Modals & overlays · Chomodo Studio 0 likes 0 installs
Component

A vertical timeline built from Timeline and TimelineItem. Items take a title, icon, timestamp (a real time element), description and any rich content such as notes, code or metrics. Six status colours cover success, warning, danger, info, pending and neutral, with status text for screen readers. A compact density uses dots for order tracking, and items can pulse as the current step or draw a dashed line toward upcoming ones.

Tables & data · Chomodo Studio 0 likes 0 installs
Block

An account settings page in labelled sections that sit in two columns on wide screens and stack on small ones. The profile form has a local photo preview, name, email, username, time zone and a bio with a character count; it tracks unsaved changes, validates inline with focus on the first error, and shows saving and saved states. Notification rows use accessible switches (one locked on), and the danger zone deletes only after the workspace name is typed in a focus-trapped confirm dialog. Switch and SettingsSection are exported.

Forms & inputs · Chomodo Studio 0 likes 0 installs
Component

A vertical step trace for showing what an assistant or automated job is doing. Each step has a type icon, a title, a status (pending, running, done, error or skipped), a live duration and a collapsible card with its input and output as key/value pairs or preformatted text. The rail fills down as steps finish, the running step pulses and its title shimmers. Steps can nest with their own sub-rail, and a header shows the step count, elapsed time and a segmented progress bar whose segments jump to and open their step. Failed steps offer a retry, status is always written as text, completions are announced politely, and motion stops when reduced motion is on.

Tables & data · Chomodo Studio 0 likes 0 installs
Block

A settings card listing every device signed in to an account, with this device pinned first, an 'Online' dot or a live relative 'Seen' time, and the approximate place. Each row signs out on its own: a spinner appears only if the request takes longer than 150ms, the row collapses and fades on success, and stays with an inline error and Retry on failure. 'Sign out other devices' opens a small confirm popover (focus on Confirm, Escape to cancel) and the rows fold away in a quick stagger. Sessions from a new place or first seen today carry a 'New' or 'Unrecognised' tag with a 'Not you?' link, and a footer sums up the device count and the latest sign-in. Includes skeleton rows, per-device button names, focus that moves to the next row after a removal and polite announcements.

Authentication · Chomodo Studio 0 likes 0 installs
Component

A table of contents that turns into a floating pill as you read. At rest it is an inline list of section links. Once that list scrolls away, a compact pill appears at the top centre (bottom on phones) with a progress ring, the current section title, a 3/7 count and the estimated time left from the words still unread. Clicking the pill opens every section with the current one marked and a small progress bar each. At the end the ring turns into a check with an optional Back to top action. Headings are found automatically (h2 and h3) or passed in, and it works with the page or a scrolling container. Navigation landmarks, aria-current on the active link, an expandable button, Escape to close and focus moved to the heading after a jump; reduced motion scrolls instantly with no fades.

Navigation · Chomodo Studio 0 likes 0 installs
Component

Adds friction to risky actions in two modes. Slide: drag a round knob along a pill track that fills behind it; letting go before 90% springs it back, reaching the end locks it with a check and a green track. Hold: press and hold a button whose background fills over a set time and drains back at double speed if released early. A tick ruler under both lights segment by segment. onConfirm may return a promise, which shows a spinner until it settles and then success or an inline error with Retry. An optional Undo appears for a set window, after which it resets or stays done. The slider works with arrow keys, End or Enter and Escape, the hold button with Space or Enter, touch works through pointer capture, the result is announced, and reduced motion swaps the spring for a snap.

Buttons · Chomodo Studio 0 likes 0 installs
Component

A printed-style ticket for events, travel or memberships. A main panel and a stub are joined by a dashed perforation with round notches cut from both edges, so the page shows through. Three layouts: event (date block, title, venue, seat or tier), boarding pass (route codes joined by a dashed flight arc, gate, seat, boarding time) and membership pass (tier, holder, expiry). The stub can be torn off by dragging it or with a Tear button: it drops away, leaves a torn edge and an Admitted stamp, and calls onTear. Passes can flip in 3D to a back face with a decorative code drawn from a seed and fine print. Fields use description lists, the flip is a pressed-state button, and reduced motion swaps the flip and tear for fades. The layout stacks on narrow screens.

Cards · Chomodo Studio 0 likes 0 installs