Components

Components

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 dependency-free SVG chart for one or more series, drawn as smooth areas or lines in the theme's chart colours. It resizes with its container, picks clean y-axis ticks, thins x labels to fit, and shows a crosshair with one tooltip for every series. Legend items toggle series, arrow keys step through points with screen-reader announcements, and a switch shows the same data as a table.

Dashboards · Chomodo Studio 0 likes 1 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

An inline wrapper that draws hand-made pen marks around words: a wavy underline, a slanted highlighter block, a loose circle that overshoots, a box, a strike, side brackets or a curved arrow pointing in from above. Each mark is an SVG sized to the words with ResizeObserver and shaped by a small seeded jitter, so it looks drawn by hand yet stays the same on every render. Marks draw in when they scroll into view, a roughness setting goes from neat to scribbly, highlight, underline and strike follow wrapped lines, and InkMarks.Group draws its marks one after another like someone annotating live. Meaning is kept in mark, s or em elements, and reduced motion shows the marks already drawn.

Animation & motion · 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 onboarding walkthrough that points at real parts of your interface. A dimmed overlay leaves a rounded cut-out around the current target, and the cut-out glides and resizes from one target to the next. A step card sits on the side with room (flipping when it would overflow) with an arrow, title, body, step dots, Back, Next and Skip; under 480px it docks to the bottom as a sheet. Targets are CSS selectors or refs, scrolled into view and re-measured on scroll and resize. Optional beacon mode starts from a pulsing dot instead of the overlay, and interactive steps let clicks pass through the cut-out and advance when the target is pressed. The card is a labelled dialog with trapped focus, arrow keys and Enter to step, Escape to end and focus returned to the launcher; the target is described by the step while active. With reduced motion the cut-out jumps instead of gliding.

Modals & overlays · Chomodo Studio 0 likes 0 installs