Skip to content

zk-callout ​

A note set apart from the text.

Props ​

PropTypeDefaultDescription
variantstring'info'info, success, warning or error: data-variant
titlestring|nullnullTitle, by default the variant with a capital letter
classstring|nullnullCSS class(es) merged onto the root element

Undeclared attributes forward to the root element.

Slots ​

SlotDescription
defaultBody
iconIcon before the title

It is an <aside role="note">. Class hooks: callout, callout-title, callout-icon, callout-body.

Examples ​

Warning ​

blade
<x-zk-callout variant="warning" title="Careful">
    This resets your settings.
</x-zk-callout>

Documentation of 3.2.0 , built from c93e21f on 3.2.0 by pipeline #2919741884 on 2026-10-06.