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.7 , built from 7415dae on 3.2.7 by pipeline #3081600448 on 2026-11-17.