Result

The whole page after an operation ends: a status drawing, a title, an explanation and what to do next.

Success

Set status to success to confirm a finished operation, with a filled check from your icon pack above the title.

Error

Set status to error for a failed operation, and list what went wrong in children, which renders below the actions.

Info

Set status to info, the default, for a neutral outcome like a sent email, with a single button in extra.

Warning

Set status to warning for a state that needs attention soon, like a subscription that is about to expire.

404

Set status to 404 to show the built-in illustration for a page that does not exist, with a way back home.

403

Set status to 403 for the built-in illustration shown to people who are not allowed to see a page.

500

Set status to 500 for the built-in server error illustration, with a way back home in extra.

401

Set status to 401 for a page that needs the visitor to sign in first, with a sign-in button in extra.

429

Set status to 429 when a visitor sends too many requests and has to wait before trying again.

503

Set status to 503 for planned maintenance, while the service is down for a short time.

Offline

Set status to offline when the browser has lost its connection, with a button to retry.

Outlined

Set appearance to outlined to draw the illustration in lines only, in grays from the text color.

Filled

Set appearance to filled to draw the lines over a light tint.

Primary accent

Set accent to primary to draw the outlined illustration in the theme's primary shades.

Primary filled

Combine accent="primary" with appearance="filled" to tint the shapes in the primary color too.

Playground

Pick a status and switch appearance and accent to see every illustration in each style.

Illustrations

Every illustration the kit ships, one per status, each exported on its own to use outside a Result.

In context

The component inside real screens, with the components it usually sits beside.

Payment success

A checkout confirmation with an order summary card below the buttons for the invoice and the dashboard.

Access denied

An access-denied page with the 403 illustration, a request-access button and a card showing what was blocked.

API Reference

Result
Result's props. Rows marked antuikit in the Version column are added by the kit.