Feedback · 6 parts · 4 variants · Basic

Alert

Shows an important message about the page or the current task, inside the content.

01Anatomy

Your trial ends in 3 days
Add a payment method to keep your projects.
Add payment method

6 parts. Select a number or a name to see what each part does.

01 · Container

The box that separates the message from the content around it.

Required
Yes

02 · Status icon

Shows the severity at a glance: info, success, warning, error.

Required
Yes
Recommended
Always paired with words: the icon alone isn’t enough.

03 · Title

One line that sums up the message.

Required
No

04 · Message

What happened and what to do.

Required
Yes

05 · Action

A link or button to fix the problem or learn more.

Required
No

06 · Dismiss

Closes the alert.

Required
No
When
Avoid it on errors that still need fixing.

02Structure

  • Alertcomponent setauto layouthorizontalfillhugpadding 16
  • Iconinstanceswapped by Severity
  • Contentauto layoutverticalfill
  • Titletextboolean
  • Messagetext
  • ActioninstanceLinkboolean
  • DismissinstanceIcon Buttonboolean
Structure
PropertyTypeValues
SeverityVariantInfoSuccessWarningError
TitleBooleantruefalse
ActionBooleantruefalse
DismissibleBooleantruefalse
MessageText“Add a payment method…”

03Variants

InfoNeutral news, nothing to fix.
SuccessSomething worked.
WarningSomething needs care soon.
ErrorSomething is blocked and needs fixing.

04Responsive behaviour

Desktop

Icon, text and actions on one row.

Mobile

The actions move under the text; the dismiss button stays at the top right.

There is no single correct anatomy: names, variants and properties differ from one design system to another. These are common structural models distilled from established design systems and accessibility guidance.

Fuori Frame

Proven methods for designing interfaces with AI. Every two weeks, in Italian.

Subscribe