Alert

Displays a callout for user attention.

Default

Destructive

Without Icon

With List

Info Variants

Usage

<twig:Alert>
    <twig:ux:icon name="lucide:terminal" />
    <h5 data-title>Heads up!</h5>
    <section>
        <p>You can add components to your app using the CLI.</p>
    </section>
</twig:Alert>

<twig:Alert variant="destructive">
    <twig:ux:icon name="lucide:circle-alert" />
    <h5 data-title>Error</h5>
    <section>
        <p>Something went wrong.</p>
    </section>
</twig:Alert>