mirror of
https://github.com/tabler/tabler.git
synced 2025-12-25 19:34:44 +04:00
886 B
886 B
title, menu, description, bootstrap-link
| title | menu | description | bootstrap-link |
|---|---|---|---|
| Toasts | docs.toasts | The toast component is like an alert box that is only shown for a couple of seconds when something happens (i.e. when the user clicks on a button, submits a form, etc.). | components/toasts/ |
Default markup
{% example %} {% include ui/toast.html %} {% endexample %}
Translucent
Toasts are slightly translucent, too, so they blend over whatever they might appear over. For browsers that support the backdrop-filter CSS property, we’ll also attempt to blur the elements under a toast.
{% example html class=bg-gray %} {% include ui/toast.html %} {% endexample %}
Stacking toasts
If you want to stack toasts just put them in the same container.
{% example %} {% include ui/toast.html person-id=3 %} {% include ui/toast.html date="7 mins ago" text="This is another toast message." %} {% endexample %}