Components

Components

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

A complete store analytics page in self-contained files: an app shell with sidebar, search and a mobile drawer; a date-range switch that rescopes the page; four KPIs with deltas and sparklines; a revenue chart comparing this period with the previous one, with crosshair tooltip, keyboard reading and a table view; sales by channel as a segmented bar and ranked list; a filterable, sortable, paginated orders table; and an activity list. Fictional data sits in data.ts, ready to swap for your API.

Full templates · 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