Notification

Notifications to alert users

Codesandbox
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit

Types

Codesandbox
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit

Icons

Codesandbox
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id fermentum quam. Proin sagittis, nibh id hendrerit imperdiet, elit sapien laoreet elit

Auto-close

Notification will close automatically after duration .

Codesandbox

Opening with code

Codesandbox

API

Name Description Type Values Default
type Type (color), optional String is-white, is-black, is-light, is-dark, is-primary, is-info, is-success, is-warning, is-danger
active Whether the notification is visible or not boolean true
showClose Display an X button that closes the notification boolean true
autoClose Automatically close the notification after duration. Doesn't apply when opening programmatically boolean false
duration Duration notification will remain on screen, optional Number 2000
icon Show icon on left-side of the notification. If set to true, icon will be determined from type property., optional String, Boolean
iconPack Fontawesome icon pack to use. By default the Icon component uses fas, optional String fas, fab, etc...
ariaCloseLabel Label for the close button, to be read by accessibility screenreaders, optional String
message Text for notification, when used programmatically String
position Where the notification will show on the screen when used programmatically, optional String is-top, is-bottom, is-top-left, is-top-right, is-bottom-left, is-bottom-right is-top-right