Web Components ·Playgrounds

Self-service Outcome

Shows one outcome returned by the backend. The page sets the outcome property (an object withlayout, heading, description) and the element renders that layout with design-system markup. Onlydescription (CMS XHTML) is inserted as HTML; every other value is escaped text.

Layouts: confirmation (success panel), message (plain text) and banner (red bar, also used for a missing or unknown layout). The samples below set the property when they mount.

Confirmation

Live preview

Markup (editable)

Banner

Live preview

Markup (editable)

Message

Live preview

Markup (editable)