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

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