<div class="alert">
    <span></span> <span>we use cookies for no reason.</span>
    <div>
        <button class="btn btn-ghost btn-sm">
            ghost
        </button>

        <button class="btn btn-primary btn-sm">
            primary
        </button>
    </div>
</div>
@jrmc.alert({ text: 'we use cookies for no reason.' })
  @slot('actions')
    @!jrmc.button({ text: "ghost", class: "btn-ghost btn-sm" })
    @!jrmc.button({ text: "primary", class: "btn-primary btn-sm" })
  @end
@end

Alert

Doc : daisyui alert

Alert informs users about important events.

Class name Type
alert Component Container element
alert-info Responsive Alert with info color
alert-success Responsive Alert with success color
alert-warning Responsive Alert with warning color
alert-error Responsive Alert with error color