Components

Components

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

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 call-to-action button with a light that travels around its border and a sheen that sweeps across the face on hover or keyboard focus. Light colours default to the theme's chart colours and can be overridden, along with the speed and three sizes. All movement respects prefers-reduced-motion.

Buttons · Chomodo Studio 0 likes 0 installs
Component

Buttons that feel like physical keys, in three materials behind one API: raised keycaps on a darker base edge that sink when pressed, soft keys lifted out of the surface by a light and a dark shadow that turn inward on press, and inset keys carved into the panel that press deeper. Primary, neutral and destructive tones mix their shadows from theme tokens, so dark mode works. Keys can print a tiny corner legend such as a shortcut letter, and a latched mode turns any key into a toggle that rests half-pressed while on. Space and Enter show the same press as the pointer, icon keys warn in the console when they lack a label, and the sink movement is dropped under reduced motion.

Buttons · Chomodo Studio 0 likes 0 installs
Component

A pill link or button whose label sits beside a small solid disc carrying an arrow. On hover or keyboard focus the circle's colour sweeps across the whole pill, the label turns to the contrast colour and the arrow nudges forward; on press the pill gives slightly. External links point the arrow north-east, open in a new tab and say so to screen readers. Renders a link when given href and a button otherwise, with three sizes, two tones, an arrow at either end and a held-open filled state. The sweep becomes an instant colour swap when reduced motion is requested.

Buttons · Chomodo Studio 0 likes 0 installs
Component

A button that runs a whole async action in place: idle, pending, success and error, without ever changing width, because every label is stacked invisibly in one grid cell. Labels crossfade upward between states and icons change with them: a ring spinner (or a determinate arc when progress is given), a check that draws itself and an X with a small shake. While pending a hairline bar runs along the bottom edge, and success briefly floods the button green before it eases back. It keeps focus throughout, is busy rather than disabled while pending, announces each state politely, and simply swaps icons when reduced motion is requested. A status prop can force any state.

Buttons · Chomodo Studio 0 likes 0 installs
Component

A copy-to-clipboard button that swaps to a check for two seconds, plus a one-line CopySnippet for commands and IDs. Uses the Clipboard API with an execCommand fallback; when both are blocked (for example in a sandboxed iframe) it selects the text and asks for Ctrl+C or ⌘C instead of failing silently, and counts the user's own copy as success. Status is announced politely.

Buttons · Chomodo Studio 0 likes 0 installs
Block

A sticky top bar with logo, a Products disclosure menu (two-column panel with icons, descriptions and a footer link), plain links, sign-in and a primary action. The menu opens on click or Arrow Down, moves with arrow keys, and closes on Escape, outside press or when focus leaves. Below the large breakpoint a menu button opens a full-height sheet: a modal dialog that takes focus, keeps Tab inside, closes on Escape or the backdrop, locks page scroll and hands focus back.

Navigation · Chomodo Studio 0 likes 0 installs
Block

An application layout with a sidebar and a top bar. The sidebar has a workspace switcher, grouped navigation with badges and an optional footer, and collapses to icons with label tips (Ctrl/Cmd+B, remembered in localStorage). The top bar holds the page title, a search field (Ctrl/Cmd+K), your action buttons and an account menu. Below 1024px the sidebar opens as a drawer with focus trapping, Escape to close and scroll lock.

Dashboards · Chomodo Studio 0 likes 0 installs
Component

In-page alerts for info, success, warning and error messages, with a title, body, optional action buttons (InlineAlertAction) and an optional dismiss button. Errors and warnings use role="alert", info and success use role="status", and the role can be overridden for messages present on page load. Tinted for light and dark mode.

Alerts & toasts · Chomodo Studio 0 likes 0 installs
Component

A person card with a cover gradient drawn from one of the theme's chart colours, an initials avatar, name with optional verified mark, handle, role, location and bio. It shows three stats, a follow button that toggles optimistically (and rolls back if your handler rejects) while keeping the follower count in step, an optional message button, and icon links with accessible names.

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

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
Block

A slide-over shopping cart. It lists line items with a thumbnail, variant, line total, quantity stepper (respecting a maximum) and remove button, shows progress toward a free-shipping threshold, and ends with the subtotal, shipping and a checkout button. As a modal dialog it traps focus, closes on Escape or a backdrop click, locks page scroll, restores focus on close and announces quantity changes. Includes an empty state; currency and locale are configurable.

E-commerce · 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
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
Component

Overlapping initials avatars for showing who is in a room, a project or a document. Four sizes, presence dots (online, away, busy, offline), name tips on hover and tints taken from the theme's chart colours. Past the limit, a "+N" button opens a list of everyone with their presence and role; it closes with Escape or an outside click. A standalone Avatar is exported too.

Tables & data · Chomodo Studio 0 likes 0 installs
Block

A masonry wall of customer quotes in CSS columns (one, two or three by width), each a figure with a blockquote, an initials avatar tinted from your chart tokens, a name and a role at the company. One quote can be featured larger on a primary-colour card. Long walls start collapsed under a soft fade with a Show all button that reports its state to assistive technology.

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

Three plans side by side with a monthly or yearly switch built from native radio buttons. The yearly option shows the discount it works out from your prices, each card shows the yearly total, and the highlighted plan is set in your primary colour with its own badge. Feature lists with check icons, an optional intro line, Intl currency formatting, and a period change callback.

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

An infinite scroller for any children: horizontal or vertical, either direction, speed in pixels per second (measured, so long and short rows move at the same pace), adjustable gap, edge fades, pause on hover or focus and a paused prop for your own pause button. It adds as many copies as the track needs, hides the copies from screen readers and keyboard, and shows one static wrapped copy when reduced motion is on.

Animation & motion · Chomodo Studio 0 likes 0 installs