Success
Use success for a completed operation. Put next actions in extra; the caller owns each button handler.
Use success for a completed operation. Put next actions in extra; the caller owns each button handler.
Use info for informational outcomes and let an action acknowledge the message.
Use warning to prompt a review before continuing. This example updates the result to success after acknowledgment.
Use error for an incomplete operation with a next action such as retry. The example shows an informational state after acknowledging a retry.
small, default and large adjust the illustration, heading and spacing together. Omit size to inherit global sizing.
layout=“horizontal” places the artwork beside the content for inline feedback. Narrow screens use a vertical arrangement.
Customize icon, title, default content, details and extra independently. details accepts structured information; actions wrap naturally.
animated controls the built-in one-time entrance. Remount to replay. Reduced-motion preferences keep the artwork static; custom icon animations are controlled by the caller.
StringStringString{ status: "success" | "warning" | "error" | "info" }{ status: "success" | "warning" | "error" | "info" }