Result
v1.0.1Updated 20 Jul 2026Outcome block for an operation the user just performed or a route resolving to an HTTP error. Big tone-colored status icon (or large dimmed code typography for 403/404/500), title, subtitle, actions slot, and an optional
Preview
Live · 9 storiesDefaultOpen ↗
▸Why this is recommendedresultoutcomestatuserror-page+5
The default, out-of-the-box Result.
Recommended for+14
- ✓Post-submit confirmation screens (invoice sent, tax filed)
- ✓Full-page 403 / 404 / 500 routes
- ✓Import/batch job outcomes with warnings
- ✓Failed-payment retry screens
Tags+6
resultoutcomestatuserror-page404403500successdefault
Features+4
- Statuses: success / info / warning / error / 403 / 404 / 500
- Semantic statuses render a tone-colored soft icon badge (shared surface() recipe)
- HTTP statuses render large dimmed status-code typography
- Sizes: compact / default / spacious
- extra slot for action buttons, children slot for detail area (error digest, receipt)
- Per-status default title + subtitle, overridable
- role="alert" for error/500, role="status" otherwise, with aria-labelledby/describedby
- motion-safe entrance animation (respects prefers-reduced-motion)
- Custom icon override
Not recommended for−2
- ✕Places with no content yet (use EmptyState)
- ✕Inline contextual messages (use Alert)
- ✕Transient feedback (use Sonner toasts)
Install
Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.
Usage
Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.
Props
PropTypeRequired
statusOutcome kind; HTTP codes render big dimmed typography
—titleHeadline (defaults per status)
—subtitleSupporting line (defaults per status)
—extraActions slot under the text
—iconCustom visual replacing the default icon / code
—sizeVisual density
—childrenDetail area below actions (error digest, receipt summary)
—