Component docs
Loading
import { Result } from "@pixxl-tools/components";
// In Server Components:
import { Result } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
title | ReactNode | — | Title (any content). |
actions | ReactNode | — | Action slot (buttons or links). |
description | ReactNode | — | Supporting text. |
icon | ReactNode | — | — |
tone | Tone | — | Colour role (neutral, primary, danger, success, warning, info). |
titleReactNode
Title (any content).
actionsReactNode
Action slot (buttons or links).
descriptionReactNode
Supporting text.
iconReactNode
toneTone
Colour role (neutral, primary, danger, success, warning, info).
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<Result title="Export complete" />