Result

Show operation outcomes, supporting information and next actions.

Result

Success

Use success for a completed operation. Put next actions in extra; the caller owns each button handler.

Information

Use info for informational outcomes and let an action acknowledge the message.

Warning

Use warning to prompt a review before continuing. This example updates the result to success after acknowledgment.

Error

Use error for an incomplete operation with a next action such as retry. The example shows an informational state after acknowledging a retry.

Sizes

small, default and large adjust the illustration, heading and spacing together. Omit size to inherit global sizing.

Horizontal layout

layout=“horizontal” places the artwork beside the content for inline feedback. Narrow screens use a vertical arrangement.

Custom content

Customize icon, title, default content, details and extra independently. details accepts structured information; actions wrap naturally.

Animation

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.

API

PROPS

Property
Type
Values
Description
default
Example
More
status
String
success | warning | error | info
Semantic state; the default illustration and color follow this value.
info
title
String
text
Result heading; the title slot takes precedence.
—
description
String
text
Supporting copy; the default slot takes precedence over text props.
—
content
String
text
Compatibility alias for description; description takes precedence when both are provided.
—
size
small | medium | large
Inherits global sizing when omitted; adjusts illustration, typography and spacing.
—
layout
String
vertical | horizontal
Centered vertical or inline horizontal layout; horizontal results stack on narrow screens.
vertical
animated
Boolean
true | false
Plays the default illustration entrance once when visible, then stays still. Reduced-motion preferences show the static artwork.
true

SLOTS

Slot
Scope
Description
default
Example
More
icon
{ status: "success" | "warning" | "error" | "info" }
Replace the decorative artwork.
—
title
{ status: "success" | "warning" | "error" | "info" }
Replace the heading.
—
default
{ status: "success" | "warning" | "error" | "info" }
Replace supporting copy with rich or block content.
—
details
{ status: "success" | "warning" | "error" | "info" }
Structured details below the description.
—
extra
{ status: "success" | "warning" | "error" | "info" }
Next actions; multiple buttons wrap naturally.
—
Last Updated: 2026-10-28, 06:17:56 UTC
Copied