Memorisely

Components

Alerts

A message that stays on the page. Info, success, warning, and danger. The tone is a semantic token.

Buy now

Alerts

Saved

The primary colour now points at bone.

<Alert tone="positive">Semantic tokens updated across 3 themes.</Alert>

How to use

A message that stays on the page. Info, success, warning, and danger. The tone is a semantic token.

Alerts exists so designers, engineers, and AI start from the same decision. The preview on this page is the component as it ships. You compose it. You do not redraw it.

Use it when the job matches the name. Reach for a neighbour in the system when it does not. Names in Figma match the names in code, which is what keeps a prototype close to what actually ships.

Tokens

TokenValue
--alerts-bgvar(--background)
--alerts-fgvar(--foreground)
--alerts-bordervar(--border)
--radius-md10px
--duration-fast120ms

Included

  • Info, success, and danger