Toast

The Toast component provides a reusable pattern for toast in the interface.

Basic

Basic toast examples.

Here are examples!
This message has an action button and may be dismissed, it will not dissapear automatically.
This message may be dismissed, it will not dissapear automatically.
This has a button to do a task but no dismiss action and will have double the time for hidden.
This neither has a button, or a dismiss and will be hidden first.

API

Parameter Default Type Description
bottom-left string -

Subcomponents

Child components for toast, including purpose and supported Blade parameters.

Toast Item

Blade directive: @toast__item()

-

Parameter Default Type Purpose
info string -
[] object|array -
false array|boolean -
false boolean -
false string|boolean -
false array|boolean -
[] array Additional CSS classes added to the wrapping element.
[] array Additional HTML attributes added to the wrapping element.

CSS API

Variable Default Type Values Description
var(--base) range - Main unit that drives radius and spacing scales.

Similar components