Copy the markup, then read the anatomy and accessibility notes before adapting it. This page is generated from component-manifest.json, so agents, maintainers, and humans share one inventory.
New custom surfaces can opt into --surface-panel and --text-primary. Existing components keep their palette-token overrides. The optional inkwell.tokens.json export carries typed tokens for design tools.
A list of cited findings; each .finding has two direct children: .finding-num and its explanation/source (a paragraph or wrapper).
Standalone .finding uses the same markup; its host supplies available inline space through block layout, stretched flex, or a defined grid track.
Modifiers
No public modifiers.
States
Each finding stacks at up to 35rem of its own width and uses a 150px statistic column above that. Root-relative breakpoints allow more room for enlarged text.
Bounded statistic type follows local container width, not the viewport. Named queries isolate nested instances and unrelated outer containers.
Long metrics and sources wrap. Intrinsically sized/shrink-to-fit hosts need an explicit available width because inline-size containment ignores child width.
Accessibility
Use an ordered list when numbering communicates order; source links need descriptive labels.
Native progress.progress with an associated label and adjacent visible value or status.
Modifiers
Set max for a scale other than 0–1; omit value only while the total is unknown.
States
Zero, partial, complete, and indeterminate. Fill starts at inline start in LTR and RTL.
Reduced motion and print pause a visible indeterminate segment; forced colors restores native rendering.
Accessibility
Use label/for, aria-labelledby, or aria-label. Inner text is not an accessible label; keep value/status copy outside the bar.
Keep native range semantics; do not add role, aria-valuenow, or tabindex. A progress bar is not a live region.
Announce completion with an adjacent polite status without moving focus. Use indeterminate bars for a temporary unknown total, not indefinite background activity.
JavaScript contract
None for rendering. Application code updates value, adjacent copy, and a polite completion status; remove value to return to indeterminate.
<div class="field">
<label class="field-label" for="reference-upload">Uploading report</label>
<progress class="progress" id="reference-upload" max="100" value="64" aria-describedby="reference-upload-status"></progress>
<span class="field-help" id="reference-upload-status">64% uploaded</span>
</div>
<p class="t-small" role="status"></p>
<!-- Omit value while discovering the total; keep status text visible. -->
<div class="field">
<label class="field-label" for="reference-preparing">Preparing upload</label>
<progress class="progress" id="reference-preparing" aria-describedby="reference-preparing-status"></progress>
<span class="field-help" id="reference-preparing-status">Discovering files…</span>
</div>
Native meter.meter with label, numeric range, and adjacent measurement and threshold interpretation.
Modifiers
Native min, max, low, high, and optimum define the scale and which range is preferable; no state classes required.
States
Optimum uses olive-dark, suboptimum warning-dark, and least-good rust. Native attributes select the state, including when higher values are preferable.
Empty/full and RTL use native range geometry; forced colors restores native rendering.
Accessibility
Use a label and visible value with units. Describe threshold meaning in text so color is supplemental.
Use aria-valuetext when units or interpretation need a more useful spoken value. Keep the native meter role and avoid tabindex.
Use progress for task completion; meter has no indeterminate state.
JavaScript contract
None for rendering. Applications update native value/range attributes, visible copy, and aria-valuetext together when data changes.
Optional decorative icon, heading, explanation, and one next action.
Modifiers
No public modifiers.
States
Empty content only.
Accessibility
Use a semantic heading and hide decorative icon glyphs with aria-hidden=true.
JavaScript contract
None.
<section class="empty-state"><div class="empty-state-icon" aria-hidden="true">◎</div><h2>Nothing here yet</h2><p>Create the first item to get started.</p><button class="btn btn-primary" type="button">Create item</button></section>
Authors localize region/slide names, roledescriptions, controls, and the data-carousel-dot-label template. Use {current} and {total}; numbers follow inherited lang.
JavaScript contract
inkwell-interactions.js reveals controls, creates labelled dots, and handles arrows/Home/End. Swipe and scroll work without it.
A .menu[data-menu] with a direct, initially hidden native button[data-menu-trigger], followed by a visible .menu-panel.
Use native buttons or real links with .menu-item and optional hr.menu-separator. No authored popover/menu roles/tabindex; the companion supplies them.
Modifiers
aria-disabled=true keeps commands discoverable but blocks activation; native disabled and hidden items are skipped.
Single-level commands only; no submenus, checkable items, or embedded form fields.
States
No script: ordinary visible actions with a hidden trigger. Enhanced: closed/open, roving keyboard focus, unavailable commands, and viewport-constrained scrolling.
Native Popover/invokers/anchors are independently detected; manual fallbacks preserve RTL, tokens, focus, and dismissal.
Accessibility
Label the trigger and panel; localize labels with HTML lang/dir. The companion assigns missing IDs, relationships, menu roles, and roving tabindex.
Enter/Space/Down opens first; Up opens last. Up/Down wrap, Home/End reach edges, typing searches labels, Escape returns to the trigger, and Tab/Shift+Tab leave normally.
Pointer opening keeps trigger focus. Outside clicks/focus close without stealing destination focus. Declarative dialogs restore the menu trigger when closed.
JavaScript contract
Requires inkwell-interactions.js for menu enhancement. Applications own command handlers; native link/form defaults remain intact. Listen directly on items or for bubbling inkwell-menu-select on the wrapper (detail.item, detail.trigger, detail.originalEvent). Missing-Popover panels temporarily move to body/open dialog and return on close; ancestor delegation/custom CSS must account for this. Call init(menu) after item/language/direction changes.
Apply .tooltip and data-tooltip to a trigger or its wrapper.
Keep essential instructions visible; the bubble is a supplemental visual hint.
Modifiers
No public modifiers.
States
Hover, contained focus, pointer over the bubble, and Escape-dismissed until the next entry or focus.
The companion clamps the bubble to the viewport and places it below when there is too little room above; active hints reposition on scroll and resize.
Accessibility
Provide the hint in an accessible description; CSS generated content alone is not a reliable description.
Load the companion for viewport placement and Escape dismissal without moving focus.
Use a disclosure or visible help when instructions must be available on touch devices.
JavaScript contract
Load inkwell-interactions.js for viewport placement and Escape dismissal; CSS supplies hover/focus presentation.
<button class="btn btn-secondary tooltip" type="button" data-tooltip="Save your current draft" aria-label="Save" aria-describedby="reference-save-hint">Save</button>
<span class="sr-only" id="reference-save-hint">Save your current draft</span>