Alert
Live preview and documentation for the Alert component.
Preview
componentPreview.loading
About
An inline card for status messages (warning, success, error). Title is required, message is optional, icon matches the tone.
tone:info(default),success,warning, ordanger— sets the icon and accent colortitle/message: a single-line title (truncates) plus an optional message below itemphasizeTitleWithTone: whentrue, paints the title with the tone's color instead ofonSurfaceicon: overrides the tone's default iconisLoading: swaps the icon for aKasySpinner(loading state)leading/trailing: custom widgets (e.g.KasyAlertActionButtonor aKasyAlertCircleButtonclose button)widthMode:full(fills the available width) orintrinsic(width fits the content, centered)
Visually follows the same shell as KasyAccordion's surface variant (border + soft shadow, no offset).
Last updated on 08/23/2026

