Skip to content

Indicator

A count or status dot pinned to the corner of any element, avatars, icons, buttons.

Indicators

AP

Installation

Everything ships in one stylesheet. There is nothing to import per component.

<link rel="stylesheet" href="https://mian.ro/dist/mian.css">

Prefer to own the files? /r/indicator.json is a registry item with this component's CSS and example markup, ready to copy into your project with any tool that reads the open registry-item format.

Class reference

Class / attributeDescription
mn-indicatorWrapper.
mn-indicator-itemThe pinned element: a badge or mn-indicator-dot.
mn-indicator-dot · mn-indicator-pulseA plain or pulsing dot.
mn-indicator-bottom · mn-indicator-start · mn-indicator-insetPlacement.

Accessibility

  • The dot is decorative: say the same thing in text, e.g. aria-label="Inbox, 3 unread" on the button, or a visually hidden span.
Choose a noodle

Minimal

Flat

Pixel

Linear

Thin

Glass

Textured

Bold

Elegant

Rounded

On this page