Feedback

Result

@xui/result

A result / status page — status glyph, title, subtitle, body content and an [xuiResultExtra] action slot. Covers success/error/warning/info and the 404/403/500 HTTP codes.

Install

pnpm add @xui/result

Add the barrel to a standalone component's imports:

import { XuiResultImports } from '@xui/result';

@Component({
  imports: [XuiResultImports],
  // …
})

Examples

Success

Loading preview…

Error

Loading preview…

Not found

Loading preview…

API

XuiResult

componentxui-result

A result / status page — a large status glyph over a title and subtitle, with optional body content and an [xuiResultExtra] action slot. status picks the icon and tint (success/error/info/warning) or shows an HTTP code (404/403/500).

Inputs

NameTypeDefaultclassClassValueExtra classes, merged into the component's own rather than replacing them.''statusXuiResultStatusWhat happened. Picks the glyph and its tint; the HTTP codes render as the number itself.this.config.statustitlestringThe headline — what the outcome was.''subtitlestringSupporting detail under the title. Project buttons as content for what to do next.''

Source

libs/ui/result/xui

xUI 2.0.0 — Apache 2.0 licensed. Built with Angular and Tailwind CSS.