Components

Components

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

A panel that slides in from any edge (bottom, top, left or right) with a grab handle and is dismissed by dragging it back. Releasing past 35% of its size or with enough speed closes it; otherwise it springs back, and dragging the wrong way meets rubber-band resistance. Bottom sheets can rest at snap points such as 30%, 60% and 92%, the backdrop fades with the drag, and an optional stack target scales the page behind for a layered feel. Modal sheets trap focus, lock page scroll and return focus to the trigger; non-modal sheets leave the page usable, which suits a mini player. The handle is a button: arrow keys move between snap points and Escape closes. Scrollable content only starts a drag from the top, and reduced motion swaps the spring for a short linear slide.

Modals & overlays · Chomodo Studio 0 likes 0 installs
Component

A horizontal strip of rounded image frames you can grab and throw. Drag, horizontal scroll or the arrow keys move it, and a throw keeps its speed then slows with smooth friction. Loop mode repeats the set seamlessly and drifts at an idle pace, picking the drift back up after a throw; free mode has springy ends. Images sit wider than their frames and slide against the motion for depth, frames lean slightly in the direction of a fast throw, and a caption fades in under the centre frame once the strip comes to rest. Items without images get a generated gradient from your chart colours. It is a labelled carousel with focusable slides, a drag never triggers a click, hover and focus pause the drift, a pause button appears when it moves on its own, and reduced motion steps item by item without drift, inertia or parallax.

Animation & motion · Chomodo Studio 0 likes 0 installs
Component

A card that tilts gently toward the pointer while a soft light follows it, brightening the border and adding a faint glare on the surface. Hidden content such as specs or a call to action slides up from the bottom on hover, focus or tap, and the main content lifts forward for depth. Three intensities run from quiet (border light only, no tilt) to bold. It renders as a div, link or button, the light is drawn from your primary colour so it works in light and dark, and the hidden content is always reachable by keyboard. Touch screens get tap-to-reveal without tilt, and reduced motion keeps it flat with a still light.

Cards · Chomodo Studio 0 likes 0 installs
Block

An editorial project list with large type rows, each showing a title, category, year and optional index number between hairline rules. Hovering a row brings in a preview card that follows the pointer with a soft lag, crossfades between projects without jumping and tilts slightly with sideways movement, while the active title slides right and the other rows dim. Rows are real links; keyboard focus places the preview beside the focused row. On touch screens each row expands inline to show its image and a link instead. Previews use gradients when no image is given, the card can be clipped to the block, and reduced motion pins the preview without lag or tilt.

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

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