Components

Components

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

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

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 night-sky backdrop for heroes and cards. Three depths of twinkling, slowly drifting stars are drawn on one sharp, resolution-aware canvas, thin glowing streaks with tapered tails shoot across at random intervals, and a faint haze from your chart colours sits on top. Set the streak angle and colour, use it as a dark night sky or a light paper sky with ink specks and pencil streaks, or let it follow the theme. Clicking empty sky fires a streak from the pointer, and an optional constellation mode joins nearby stars to the pointer with hairlines. It pauses when off screen or in a hidden tab, caps at 60 frames a second, stays out of the way of content and clicks layered on top, and shows a still star field when reduced motion is on.

Backgrounds · Chomodo Studio 0 likes 0 installs