Zephora UI

Feedback

Result

Full-width outcome page with a big status icon (or HTTP code), title, subtitle and actions. Covers success/error/info/warning plus 404, 403 and 500 pages.

Import

import { Result } from "@zephora/react";

Examples

Success

Payment received
Order #10382 will ship within 2 business days.

HTTP status pages

The 404/403/500 statuses render the code as the visual.

Page not found
The page you are looking for does not exist.

Error with actions

Submission failed
Some fields need your attention before resubmitting.

API

Result props

PropTypeDefaultDescription
status *"success" | "error" | "info" | "warning" | "404" | "403" | "500"Outcome the page communicates.
title *ReactNodeHeadline.
subtitleReactNodeSupporting copy under the title.
extraReactNodeActions area (buttons, links).
iconReactNodeReplaces the built-in status icon.
unstyledbooleanfalseHeadless mode — skips Zephora styling.