Skip to content

Notification

The Notification component renders Bulma’s notification element — a bold block used to display notices or alerts.

This is a plain notification.
<Notification>This is a plain notification.</Notification>
Primary
Info
Success
Warning
Danger
<Notification color="primary">Primary</Notification>
<Notification color="info">Info</Notification>
<Notification color="success">Success</Notification>
<Notification color="warning">Warning</Notification>
<Notification color="danger">Danger</Notification>
<Notification color="link">Link</Notification>
Primary light
Danger light
<Notification color="primary" light>Primary light</Notification>
<Notification color="danger" light>Danger light</Notification>

Click the × button to dismiss this notification.

<Notification color="info" dismissible>
Click the × button to dismiss this notification.
</Notification>
PropTypeDefaultDescription
color"link" | "primary" | "info" | "success" | "warning" | "danger"Bulma color modifier.
lightbooleanLight variant.
dismissiblebooleanAdds a × delete button that removes the element.
classstringExtra CSS classes.