Prometheus Design System

Icon Button

Mantine ActionIcon. In the header uses a gray fill; in content areas uses a transparent fill with a colored glyph. Used for theme toggle, settings, docs, burger, collapse-all, copy-code, time-scrub arrows, and query options.

DO

Always provide aria-label — icon-only buttons are invisible to screen readers without one.

DON'T

Pack more than 3 Icon Buttons in a row without spacing; they blur into a toolbar strip.

Design

header

Solid gray fill on header slate.

content

Transparent background, inherits icon color.

Component reference (screenshots)
/query
/query light
/alerts
/alerts light
/targets
/targets light
/rules
/rules light
/service-discovery
/service-discovery light
/status
/status light
/tsdb-status
/tsdb-status light
/flags
/flags light
/config
/config light
/alertmanager-discovery
/alertmanager-discovery light

Placeholder screenshots — the audited app is live at prometheus-e83j.onrender.com.

Implementation

<ActionIcon aria-label="Copy code" variant="subtle"><IconClipboard /></ActionIcon>

Layout

PropertyValue
size32×32 px icon-button-size
icon-size16px
border-radius4px sm

Accessibility

ARIARequired. Describe the action, not the icon.
KeyboardStandard button semantics.