Components

Components

Component

A ToastProvider and useToast hook for stacked notifications. Toasts collapse into a deck and expand on hover or focus, auto-dismiss with timers that pause while hovered, focused or in a hidden tab, and can be updated in place (loading to success). Five variants plus default, optional action button, six positions, a limit on open toasts, and polite or assertive live-region announcements.

Alerts & toasts · Chomodo Studio 0 likes 0 installs
Component

A tooltip that opens on hover after a short delay and immediately on keyboard focus, closes on blur, pointer down or Escape (without closing a dialog around it), and stays open while the pointer moves onto it. Four sides with an arrow, a skip-delay when moving between triggers, aria-describedby wiring on the trigger, controlled or uncontrolled state, and a TooltipKbd helper for shortcuts.

Modals & overlays · Chomodo Studio 0 likes 0 installs
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
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 menu button following the ARIA menu pattern: arrow keys with wrap-around, Home and End, typeahead, Escape to close and return focus, Tab to leave, and click-outside to dismiss. Composable parts for groups with labels, separators, icons, keyboard shortcut hints with aria-keyshortcuts, disabled and destructive items, and checkbox items that stay open while toggling.

Modals & overlays · Chomodo Studio 0 likes 0 installs
Component

An accessible accordion for questions and answers: each question is a heading with a button (aria-expanded, aria-controls) that opens a labelled region, closed answers are inert, arrow keys, Home and End move between questions, and answers open with a smooth height animation that turns off under reduced motion. Single or multiple open, collapsible, default open items and a configurable heading level.

Marketing · Chomodo Studio 0 likes 0 installs
Block

A features section in a bento grid of six tiles in three sizes (wide, tall, small), each with a heading, one sentence and a small interface illustration built in HTML and SVG: a document with live cursors, a version history, an offline queue, page permissions, a search palette with highlighted matches and a live chart. Tiles are data, so you can pass your own illustrations; the grid reflows to two columns and then one.

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

SSR-safe React hooks for CSS media queries, built on useSyncExternalStore so they hydrate without mismatches and follow live changes. useMediaQuery takes any query and a server default, usePrefersReducedMotion reads the motion preference, and useBreakpoint returns the current Tailwind breakpoint. Falls back to the old listener API on older Safari. The preview shows the live breakpoint on a ruler and readouts for motion, colour scheme, contrast, hover, pointer and orientation.

Tables & data · Chomodo Studio 0 likes 0 installs
Component

A small pill for states such as live, paused, failed or draft. Five tones, an optional pulsing dot, and theme colours so it fits light and dark mode.

Tables & data · Chomodo Studio 0 likes 0 installs
Component

A Button with six variants (primary, secondary, outline, ghost, destructive, link) and four sizes including a square icon size. The loading state shows a spinner without changing the button's width, keeps focus on the button and sets aria-busy. Exports buttonVariants so links can share the same styles.

Buttons · Chomodo Studio 0 likes 0 installs
Component

A stepper for multi-step flows with complete, current and upcoming states. It is horizontal in wide containers and switches to a vertical rail in narrow ones using container queries, or can be fixed to either orientation. The current step has aria-current="step", each step's state is spelled out for screen readers, and completed steps can be made clickable to go back.

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

Accessible tabs with an underline that slides to the selected tab. Follows the ARIA tabs pattern with roving focus (arrow keys, Home and End), automatic or manual activation, linked tab and panel ids, disabled tabs and optional count badges. The tab row scrolls sideways on narrow screens and keeps the selected tab in view; the slide respects reduced motion.

Navigation · Chomodo Studio 0 likes 0 installs
Hook

Two React hooks for debouncing. useDebouncedValue returns a value once it has stopped changing for a delay, so you can compare it with the live value to show a pending state. useDebouncedCallback returns a stable function with cancel, flush and isPending; it always calls your latest callback, supports leading calls and a maxWait cap, and cancels on unmount. The preview filters a list while showing the debouncing state and autosaves a note.

Forms & inputs · 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

A typed table driven by column definitions. It sorts by any column (aria-sort on headers), filters by text across searchable columns and by one category shown as chips with counts, selects rows with a select-all checkbox that turns indeterminate and shift-click ranges, swaps the toolbar for your bulk actions while rows are selected, paginates with a page-size picker, and shows an empty state with a clear-filters button. Columns can hide below a breakpoint.

Tables & data · Chomodo Studio 0 likes 1 installs
Block

A task board with columns, work-in-progress limits and cards showing a tag, priority, due date, comment count and assignees. Cards move by pointer drag (mouse anywhere on the card, touch from the handle) with a drop placeholder and edge auto-scroll, or by keyboard: focus a card's handle, press Space to pick it up, use the arrow keys, Space to drop and Escape to cancel. Move buttons and live-region announcements cover the same moves. Works controlled or uncontrolled, with an optional inline add-card field and custom card bodies.

Tables & data · Chomodo Studio 0 likes 0 installs
Component

Text that resolves out of random glyphs into the real string. Each character cycles through a glyph set (letters, hex, binary, symbols or your own) and locks left to right, from the centre out or in random order, at a fixed tick so the pace is the same on any screen. Give it a list of strings and it cycles through them, decoding only the characters that change, with an optional block caret riding the resolve front. It can start on mount, on scroll into view or on hover and focus, keeps its width steady by reserving the longest string, gives screen readers the plain text without live announcements, and shows the final text at once when reduced motion is on.

Animation & motion · 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
Component

An inline wrapper that draws hand-made pen marks around words: a wavy underline, a slanted highlighter block, a loose circle that overshoots, a box, a strike, side brackets or a curved arrow pointing in from above. Each mark is an SVG sized to the words with ResizeObserver and shaped by a small seeded jitter, so it looks drawn by hand yet stays the same on every render. Marks draw in when they scroll into view, a roughness setting goes from neat to scribbly, highlight, underline and strike follow wrapped lines, and InkMarks.Group draws its marks one after another like someone annotating live. Meaning is kept in mark, s or em elements, and reduced motion shows the marks already drawn.

Animation & motion · Chomodo Studio 0 likes 0 installs
Component

CSS-only frames for presenting screenshots or live content: a browser window (three dots, back and forward, an address bar, optional tabs), a phone with side buttons and a pill cutout, a tablet, a laptop with its base, and a watch with crown and band. Each frame scales from one width value and keeps its proportions, and children render inside the screen with overflow hidden. Frames are drawn from your theme colours by default, with optional graphite, silver or sand finishes, light or dark chrome, three shadow depths and a diagonal screen reflection. A crop option cuts the device across the screen to show only the top or bottom for tight hero layouts. No images are needed, and frames are presentational so the content keeps its own semantics.

Marketing · Chomodo Studio 0 likes 0 installs
Component

A floating bar of icon tiles where the tiles near the pointer swell, largest under the cursor and falling off smoothly over their neighbours, while the bar grows with them so nothing overlaps. A label rises above the hovered or focused tile and active items get a small dot. Works as a horizontal bottom dock or a vertical tool rail, with groups split by thin dividers and count badges that pop when they change. The avatars variant becomes a presence dock that opens a list of members and their status on click. It is a toolbar with arrow-key, Home and End navigation (focus swells like hover), labelled tiles, aria-current on the active one and announced badge counts. Touch screens get a simple press state and reduced motion a plain lift.

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