Canonical inventory
Data display · core
Usage meter
data.usage-meterUsage meter: A structured display for reading, comparing, or inspecting information.
usage meterthe structured information blockthe data display
States4
Touch targetDisplay
Evidence4
Introduced by1 kits
Visual specimen
Same contract. Every kit voice.
Translation table
What code calls it.
Websemantic data structureThis component is composed from multiple web primitives.pattern
ARIAtable, list, or groupNo single ARIA role represents the complete component.pattern
SwiftUICustom View compositionSwiftUI has no single direct equivalent; compose and name the behavior explicitly.approximation
AppKitCustom NSView compositionAppKit has no single direct equivalent; use a custom view or controller composition.approximation
Anatomy
Every part, named.
- 1Data container
- 2Primary values
- 3Labels or headers
- 4Grouping or separators
- 5Empty and error treatment
Often confused with
Similar shape. Different contract.
Card
surface.cardShares a visual family, but has a different role, state model, or interaction contract.
Feature cardsurface.feature-cardShares a visual family, but has a different role, state model, or interaction contract.
Glass cardsurface.glass-cardShares a visual family, but has a different role, state model, or interaction contract.
Prompt · paste into your agent
Ask for the exact thing.
Implement the canonical Usage meter component (data.usage-meter). Usage meter: A structured display for reading, comparing, or inspecting information. Support these states: default, loading, empty, error. Use semantic design tokens rather than raw visual values. Preserve a minimum appropriatepx touch target where interactive. Provide and verify: implementation, state-matrix, responsive, reduced-motion. Keep the component API stable so every Studio kit can supply its own rendering without changing the behavior contract.Studio contract
What must be proven.
Required states
default · loading · empty · error
Required evidence
implementation · state-matrix · responsive · reduced-motion
Source union
lumen