Documentation / @zerotal/flow / index / Alert
Function: Alert()
Alert(
props):HtmlNode
Defined in: flow/src/components.ts:1181
An inline, statically-styled alert box. variant (default "info") sets the colour
and ARIA role — error/warning announce assertively as role="alert", others as
role="status".
Parameters
props
Returns
Remarks
title renders a bold heading above the body; dismissible adds a client-only ×
that hides the alert with no server round-trip.
Example
<Alert variant="success" dismissible>Saved!</Alert>