fndn/ui

Components

Alert

Beta

A message in the page: a note, a success, a warning or an error.

Details

A message that sits in the page: a note, a success, a warning, an error. A tone icon, a title, a description and optional actions, on the card's box (radius.card, 12px padding). The tones are status-pill's four status tones and their tint pairs: neutral is the card itself (surface on shadow.card); accent, green, orange and red fill with their tint, the icon takes the tone's colour and the text stays ink, so it reads at any length. Static: no engine, no motion.