Skip to content
Razor catalogue

On this page

@addTagHelper *, Webority.Ui.Razor

A failed region

The part that failed is replaced by this block; the rest of the page keeps working.

Could not load the list

Check your connection, then try again.

We could not save your changes

Send this reference to support if it keeps happening.
Owner
Asha Rao
Reference REF-2026-118204

Tones

Danger is the default for a failed region. Warning and info mark a region that still works.

Some figures may be out of date

The report took longer than usual.

States

A retry in progress, and the narrow-phone layout.

Could not load the list

Trying again.

Stacked on a phone

Below 576px wide the icon sits above the text. Narrow the window to see it.

Could not load the list

Check your connection, then try again.
danger warning info secondary
1 2 3
tone lock shield

Could not load the list

React, generated from the controls
<AppResultBlock
  title="Could not load the list" />
Razor, the same props
<app-result-block title="Could not load the list">
</app-result-block>

Guidance

What to do, and what to avoid.

Use it when

  • A region of a page fails to load and the rest of the page still works.
  • The whole page cannot load and a compact left-aligned message suits the shell better than a centred outcome screen.

Reach for something else when

  • A full-page outcome such as a success, or a 403, 404 or 500 screen. → AppResult
  • A section that has nothing in it yet. → AppEmptyState
  • A short message that disappears on its own. → toast

Keep the rest of the page working

Do

Could not load the list

The block replaces only the part that failed. Put it where that part was.

Avoid

Could not load the page

Check your connection, then try again.

A block that replaces the whole page hides the parts that still work.

Reference

Try every prop, read the full list, and check keyboard and screen reader behaviour.

14 props. The 3 most used come first.

Used on most screens 3 props

PropTypeDefaultDescription
tonedefault danger danger | warning | info | secondary danger The colour and default icon.
titledefault - string - The heading: what failed.
referencedefault - string - A reference code shown with a Copy reference button.

Less common 11 props

PropTypeDefaultDescription
heading-leveldefault 2 1 | 2 | 3 2 The title's heading level.
icondefault - string - Overrides the tone's icon with a library icon name.
reference-label / copy-label / copied-labeldefault Reference / Copy reference / Copied string Reference / Copy reference / Copied Replaces the built-in English text, for other languages.
(content)default - markup - The one sentence saying what happened and what to do.
app-result-block-slot slot="Actions"default - markup - Usually one or two buttons.
app-result-block-slot slot="Field"default - markup - A form field under the sentence.
app-result-block-slot slot="Fact"default - label, value - A labelled fact under the sentence.
classdefault - string - Extra classes on the block, appended to the component's own classes.
reference-labeldefault Reference string? Reference Replaces the built-in English text, for other languages.
copy-labeldefault Copy reference string? Copy reference Replaces the built-in English text, for other languages.
copied-labeldefault Copied string? Copied Replaces the built-in English text, for other languages.

Screen reader

3 notes
  • The title is a heading at headingLevel, so a screen reader finds the failed region in the heading list.
  • The icon is decorative and hidden from assistive technology.
  • The reference copies with one click and announces Copied.

Do and avoid

1 pairs

Keep the rest of the page working

Do

Could not load the list

The block replaces only the part that failed. Put it where that part was.

Avoid

Could not load the page

Check your connection, then try again.

A block that replaces the whole page hides the parts that still work.