---
title: "Toast"
description: "Toast notifications with customizable types."
type: "docs"
category: "doc"
tags: []
authors: [Anonymous]
date: "2026-09-09"
last_update: "2026-09-09"
time_minutes: 1
draft: false
unlisted: false
url: "https://www.derafu.dev/docs/ui/twig/components/block-toast"
---

{% set types = ['primary', 'secondary', 'success', 'danger', 'warning', 'info', 'light', 'dark'] %}
{% for type in types %}
    <twig:block-toast
        class="my-2"
        type="{{ type }}"
        title="Toast type: {{ type }}"
        content="Lorem ipsum dolor sit amet, consectetur <a href='https://www.example.com/' target='_blank'>adipiscing elit.</a href>"
        time="5 mins ago"
    />
{% endfor %}



---
Last updated on 09/09/2026

