Components

Components

Component

An accessible on/off switch (role="switch" with aria-checked) and a SwitchField that pairs it with a clickable label and a description through aria-labelledby and aria-describedby. Controlled or uncontrolled, two sizes, disabled state, a reduced-motion-aware thumb, and a hidden input so it submits with forms like a checkbox.

Forms & inputs · Chomodo Studio 0 likes 0 installs
Block

A closing section on a full field of your primary colour: a large headline and one sentence beside a labelled email form. It validates on the client (empty and malformed addresses, with a specific message tied to the field by aria-describedby), shows a sending state, then swaps to a success message with a way back. Pass onSubmit to call your own API; a rejected promise shows a retry message.

Marketing · 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

An email and password sign-in card with generic Continue with buttons (passkey and SSO, lucide icons, no brand logos), a show or hide password toggle, remember me, a forgot password link and a link to sign up. Fields validate on blur and on submit with messages tied to each input, the first invalid field takes focus, and the button shows a loading state. onSubmit can return a message to show as a form error; the demo rejects the password wrong-password.

Authentication · 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 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 drag-and-drop file area with a keyboard-reachable browse button backed by a native file input. Validates type (accept rules also apply to dropped files), size and count, explains rejected files, skips duplicates, and lists chosen files with an icon, size and a remove button that keeps keyboard focus in place. Changes are announced to screen readers. It only collects files; uploading is left to you.

Forms & inputs · Chomodo Studio 0 likes 0 installs
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 sign-up flow in one card with three steps (account, workspace, invite teammates), a labelled progress bar that marks the current and finished steps, Back and Continue, and validation for each step before moving on. The workspace address fills itself from the name until edited, team size uses native radio buttons, invites can be added, removed or skipped, focus moves to each step's heading, and the last step shows a creating state and a summary.

Authentication · 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
Block

A multi-column site footer: logo and one line about the product, a newsletter form with client-side validation and a confirmation, icon links with accessible names, four link groups in a labelled navigation, and a bottom bar with copyright, legal links and a status indicator. The brand name returns across the full width at the bottom. Link groups fold from four columns to two on phones; everything is passed as props.

Navigation · Chomodo Studio 0 likes 0 installs
Component

A searchable single select built on the ARIA 1.2 combobox and listbox pattern. Type to filter (accent-insensitive, matching labels, descriptions and keywords, with the match highlighted), use the arrow keys, Enter to choose and Escape to close; clicking outside also closes it. Supports icons, descriptions and disabled options, an empty state, an optional clear button, a result count for screen readers and a hidden input for forms.

Forms & inputs · Chomodo Studio 0 likes 1 installs
Component

An interactive code sample panel for API docs. Language tabs (cURL, JavaScript, Python, Go or your own) with a sliding underline sit above the code, which crossfades when you switch. A small parameter form beside the code, or behind a 'Parameters' disclosure in narrow containers, edits values that are templated into every language live; changed lines get a left accent bar and the changed tokens flash briefly, with a screen-reader note that the line was updated. A built-in tokenizer colours strings, numbers, keywords, keys and comments from the chart tokens, so it follows the theme without a highlighting dependency. An optional Response tab shows a templated sample body with a status pill. Copy morphs its icon into a check and announces 'Copied', the chosen language can be remembered in localStorage, and the tabs are a proper keyboard tablist.

Tables & data · Chomodo Studio 0 likes 0 installs