Skip to content

Result ​

Result is a centered outcome panel: success, info, warning, error, or a 404 state. Spacing follows Empty large. It is not an alert.

Demos ​

Success

The icon sits in a 16% semantic wash with a pressed-tone glyph. Actions use the same row as Empty: a primary Button and an optional ghost.
View courseBack to list

Info, warning, error, 404

status picks the icon and wash. 404 uses a soft brand circle and a Fraunces “404” mark.

404 panel

Result does not route. The action slot belongs to the app.
HomeContact support

Custom icon

The icon slot replaces the built-in glyph. The title stays the accessible name, and the icon is aria-hidden when a title is present.

API ​

Result Props ​

PropTypeDefault
status'success' | 'info' | 'warning' | 'error' | '404''info'
titlestring''
descriptionstring''

Result Slots ​

NameDescription
iconReplaces the status glyph
extra / actionAction row, usually gk-button
defaultExtra body under the description

CSS Parts ​

PartDescription
rootCentered column, Empty-large padding
icon72px circle. aria-hidden when a title is set
titleFraunces heading
descriptionMuted supporting copy
extraAction row

There is no role="alert". For a finished async task, the app may set role="status" on the host.

Accessibility ​

  • The title is an h2 and the accessible name.
  • The icon is decorative when a title is present.
  • Action buttons bring their own names and focus rings.