Default
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
# Types
# Icons
# Headerless
Message without title becomes headerless, they are always non-closable.
# Sizes
# Auto Close
Message will be automatically closed after duration
.
Name | Description | Type | Values | Default |
---|---|---|---|---|
type | Type (color) of the message, optional | String | is-white , is-black , is-light ,
is-dark , is-primary , is-info , is-success ,
is-warning , is-danger ,
and any other colors you've set in the $colors list on Sass | — |
active | Whether notification is active or not, use the .sync modifier to make it two-way binding | Boolean | — | true |
closable | Adds an 'X' button that closes the notification — works if has a title | Boolean | — | true |
auto-close | Hide notification after duration | Boolean | — | false |
duration | Visibility duration in miliseconds | Number | — | 2000 |
icon-pack | Icon pack to use | String | mdi , fa , fas , far , fad , fal | mdi |
has-icon | Adds an icon on the left side depending on the type | Boolean | — | false |
size | Size of the control, optional | String | is-small , is-medium , is-large | — |
icon-size | Size of the icon, optional | String | is-small , is-medium , is-large | is-large or size prop |
title | Message title | String | — | — |
aria-close-label | Label for the close button, to be read by accessibility screenreaders. | String | — | — |
This page is open source. Noticed a typo or something's unclear?