On this page
@addTagHelper *, Webority.Ui.RazorSuccess and errors
Show the outcome with a clear next step, so a success confirms and a failure guides the person to a retry.
Success: order confirmed
A completed action with a next step.
Order confirmed
Order #12345 will ship tomorrow.
Error: something went wrong
A failed action with guidance or a retry.
Payment declined
Your card was declined. Please check your details and try again.
404: page not found
Numeric status codes render as large figures.
Page not found
This page has been moved or no longer exists.
Warning and info
Use warning for a risky step that still offers a path forward, and info for a neutral status with no action needed.
Warning: are you sure?
A caution state that still offers a path forward.
High risk detected
This action cannot be undone. Review the details carefully.
Info: just so you know
A neutral informational state.
Verification in progress
We're checking your details. This usually takes a few minutes.
Custom icons
Replace the status icon only when the default would mislead; the status still sets the tone.
Custom icon
Replace the default with your own glyph.
Milestone reached!
You've completed your first 10 tasks.
Extra content
Add a short note below the actions when the person needs one more fact or the next step after the button.
With extra copy
A secondary explanation or next step.
Email verified
Your email address is now confirmed.
A confirmation link has been sent to your inbox for future sign-ins.
Every option
Every value of every prop, one cell each.
status: all seven values
status="success"
Success
Supporting message goes here.
status="error"
Error
Supporting message goes here.
status="warning"
Warning
Supporting message goes here.
status="info" (default)
Info
Supporting message goes here.
status="403"
Something went wrong
Supporting message goes here.
status="404"
Something went wrong
Supporting message goes here.
status="500"
Something went wrong
Supporting message goes here.
title and subtitle
(no props): default icon only, no title blocktitle onlyDone
title + subtitleOrder confirmed
Order #12345 will ship tomorrow.
title as a node: React only, Razor's title is a stringSuccess!
subtitle as a node: React only, Razor's subtitle is a stringOrder confirmed
Order #12345 will ship tomorrow.
long title and subtitle (overflow / wrap check)
This is a deliberately long title to check how the heading wraps inside a narrow result panel
And an equally long supporting message, to confirm the subtitle wraps cleanly under the heading without breaking the layout of the panel.
heading level: 1, 2 and 3
heading-level="1"
Heading level 1
Supporting message goes here.
heading-level="2" (default)
Heading level 2
Supporting message goes here.
heading-level="3"
Heading level 3
Supporting message goes here.
icon override
status="404" (no override: code figure, no icon)Page not found
status="404" icon="zap" (override wins over the code figure)Off exploring
status="success" icon="sparkles" (override replaces the default glyph)Milestone reached!
status="success" icon="send" (the send glyph, in place of rocket)Message sent
status="success" icon="star" (the star glyph, in place of party-popper)Goal reached
icon as a node: React only, Razor's icon is a library icon name
Custom icon node
actions and extra content
title + subtitle + actions (inner content)
Order confirmed
Order #12345 will ship tomorrow.
title + subtitle + actions + <app-result-extra> (full composition)
Order confirmed
Order #12345 will ship tomorrow.
A confirmation email has been sent.
className
class="checkout-result", caller class appendedDone
Guidance
What to do, and what to avoid.
Use it when
- A self-contained outcome screen after a major action completes (checkout, signup, verification).
- An error state (403/404/500) that needs a prominent, scannable presentation.
- A confirmation or warning that warrants its own full-screen or modal moment.
Reach for something else when
- A transient message that dismisses on its own. → AppToast
- A section-scoped "nothing here yet" inside a card or modal. → AppEmptyState
- An inline alert about a validation error or status change. → AppAlert
- A persistent announcement bar across the whole page. → AppBanner
Reference
Try every prop, read the full list, and check keyboard and screen reader behaviour.
8 props. The 4 most used come first.
Used on most screens 4 props
| Prop | Type | Default | Description |
|---|---|---|---|
| statusdefault info | success | error | warning | info | 403 | 404 | 500 | info | The outcome. It picks the default icon and tone; 403, 404 and 500 show the code as a large figure instead of an icon. |
| titledefault - | string | - | The heading: what happened. |
| subtitledefault - | string | - | Supporting message below the title. |
| icondefault - | string | - | Overrides the status default icon with a library icon name. |
Less common 4 props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading-leveldefault 2 | 1 | 2 | 3 | 2 | The title's heading level: 1 when the result is the whole page. |
| (content)default - | markup | - | Inner content renders below the subtitle as the actions slot, usually one or two app-buttons. |
| app-result-extradefault - | markup | - | A nested tag whose content renders below the actions as the extra slot. |
| classdefault - | string | - | Extra classes on the result container, appended to the component's own classes. |
Screen reader
2 notes- The title is a heading: h2 by default, and headingLevel sets 1, 2 or 3. Use 1 when the result is the whole page.
- The large figure of a 403, 404 or 500 status is hidden from assistive technology (aria-hidden), so the title carries the meaning.