Toast is a wrapper to stack elements, positioned on the corner of page.
Class name | Type | |
---|---|---|
toast | Component | Container element that sticks to the corner of page |
toast-start | Placement | align horizontally to the left |
toast-center | Placement | align horizontally to the center |
toast-end | Placement | align horizontally to the right (default) |
toast-top | Placement | align vertically to top |
toast-middle | Placement | align vertically to middle |
toast-bottom | Placement | align vertically to bottom (default) |
<div class="$$toast"> <div class="$$alert $$alert-info"> <span>New message arrived.</span> </div> </div>
<div class="$$toast">
<div class="$$alert $$alert-info">
<span>New message arrived.</span>
</div>
</div>
<div class="$$toast"> <div class="$$alert $$alert-info"> <span>New message arrived.</span> </div> </div>
<div class="$$toast">
<div class="$$alert $$alert-info">
<span>New message arrived.</span>
</div>
</div>
<div class="$$toast $$toast-top $$toast-start"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-top $$toast-start">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-top $$toast-start"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-top $$toast-start">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-top $$toast-center"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-top $$toast-center">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-top $$toast-center"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-top $$toast-center">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-top $$toast-end"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-top $$toast-end">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-top $$toast-end"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-top $$toast-end">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-start $$toast-middle"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-start $$toast-middle">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-start $$toast-middle"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-start $$toast-middle">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-center $$toast-middle"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-center $$toast-middle">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-center $$toast-middle"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-center $$toast-middle">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-end $$toast-middle"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-end $$toast-middle">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-end $$toast-middle"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-end $$toast-middle">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-start"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-start">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-start"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-start">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-center"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-center">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-center"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-center">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-end"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-end">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>
<div class="$$toast $$toast-end"> <div class="$$alert $$alert-info"> <span>New mail arrived.</span> </div> <div class="$$alert $$alert-success"> <span>Message sent successfully.</span> </div> </div>
<div class="$$toast $$toast-end">
<div class="$$alert $$alert-info">
<span>New mail arrived.</span>
</div>
<div class="$$alert $$alert-success">
<span>Message sent successfully.</span>
</div>
</div>