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

A shop product card with an SVG illustration (tee, crewneck or tote) that recolours with the selected swatch, so no image files are needed. It has colour swatches and size choices as real radio groups with sold-out sizes, a regular or sale price with the discount badge, a star rating with partial stars, a save toggle, and an add-to-cart button with adding and added states. It asks for a size when one is missing and announces the result to screen readers.

E-commerce · Chomodo Studio 0 likes 0 installs
Block

A checkout section with a payment method chooser beside an order summary. The summary lists line items with quantities, takes a discount code through your validator (sync or async, with checking, applied and invalid states), and works out subtotal, discount, shipping, tax after discount and total. Payment options are radio cards that can reveal details when selected, and the pay button shows processing and order-placed states. Stacks to one column on small screens.

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

A preview card that grows into a centred dialog and shrinks back into place. The dialog opens out of the card's rectangle while the shared image and title travel and resize to their dialog positions, and the rest of the dialog fades in a beat later. Closing shrinks back into wherever the card is now, even after the page scrolled. On touch the dialog can be dragged down to close with the backdrop fading, and gallery mode adds previous and next controls plus arrow keys to move between cards. Built from small parts (CardExpand, Item, Trigger, Content, Image, Title, Description, Close). The dialog is modal and labelled by its title, focus moves to Close and stays inside, Escape closes, focus returns to the card and the page behind is inert. Reduced motion uses a plain fade.

Modals & overlays · 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