Components

Components

Component

A table of contents that turns into a floating pill as you read. At rest it is an inline list of section links. Once that list scrolls away, a compact pill appears at the top centre (bottom on phones) with a progress ring, the current section title, a 3/7 count and the estimated time left from the words still unread. Clicking the pill opens every section with the current one marked and a small progress bar each. At the end the ring turns into a check with an optional Back to top action. Headings are found automatically (h2 and h3) or passed in, and it works with the page or a scrolling container. Navigation landmarks, aria-current on the active link, an expandable button, Escape to close and focus moved to the heading after a jump; reduced motion scrolls instantly with no fades.

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

A small pill for states such as live, paused, failed or draft. Five tones, an optional pulsing dot, and theme colours so it fits light and dark mode.

Tables & data · Chomodo Studio 0 likes 0 installs
Component

A pill toggle for liking, saving, starring and following, with a count that rolls. Turning it on pops the icon and throws a small burst of dots and strokes; the number rolls up or down through a two-row swap. Like fills rose, save fills amber and becomes Saved, star fills with the primary colour, and follow changes to a quieter outlined Following pill. Rapid repeat clicks settle into a single change event, and a long press (or Alt+Arrow) opens an optional tray of alternative reactions that the pill then shows. It reports its pressed state and count to screen readers, the tray is a keyboard menu that returns focus when closed, and reduced motion just switches the fill.

Buttons · Chomodo Studio 0 likes 0 installs
Block

A two-column hero: headline, one supporting sentence, primary and secondary actions and a trust row (avatar stack plus a compliance note) on the left, and a cropped app window on the right built in HTML, with a sidebar, a progress bar, a transactions table with status pills and a floating stat card. Every colour comes from theme tokens; on phones the window stacks under the copy and stays cropped instead of shrinking.

Hero sections · Chomodo Studio 0 likes 1 installs
Component

A floating toolbar that rises from the bottom (or top) of a list when items are selected and sinks away when the selection clears. It shows a rolling selected count, a basket of removable chips with a '+N' overflow that opens a scrollable list, action buttons and Clear. Destructive actions confirm inline ('Delete 6? Yes / No', focus on No) without a modal, and a finished action leaves an Undo pill in the same bar for a few seconds. Ships a useSelection hook with toggle, shift-click ranges, select all, clear and isSelected. Set a threshold, place it inside the parent or float it over the page; Escape clears, count changes are announced politely and focus is never taken when the bar appears.

Tables & data · 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

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
Block

A two-step appointment chooser. A week strip of day pills (weekday, date and a small count of open times) with previous and next week arrows sits above a grid of time slots for the chosen day, grouped into Morning, Afternoon and Evening. Unavailable slots are struck through and disabled. Picking a slot expands it in place into a confirm row ('Tue 18 Nov, 10:30 to 11:00 · Confirm') instead of a separate button. A time zone switch re-renders every label in the viewer's or the host's zone with Intl, and a 15/30/60 minute toggle regenerates the slots. Slots come from an async getSlots(date, duration) or a fixed map, with skeletons while a day loads, min and max dates and a jump to the next open day. The strip and each slot group are keyboard radiogroups, focus moves to Confirm after a choice, and the chosen time is announced. At phone width the strip shows five days and swipes.

Forms & inputs · Chomodo Studio 0 likes 0 installs