Skip to content
nexubDesign System
v2.4.0

Components · Data Display

Error State

StableSince v0.0.1

Full-page or section error view with retry action.

import { ErrorState } from '@nexub/react';

Examples

Default

Warning

Props

Props
PropTypeDefaultDescription
titlerequiredstring—Primary error heading shown to the user.
descriptionstring—Supporting text with more detail about the error or recovery steps.
tone'error' | 'warning' | 'info''error'Controls the icon and colour scheme of the error state.
onRetry() => void—When provided, renders a "Try again" button that calls this function on click.
actionsReact.ReactNode—Custom action elements rendered below the description. Takes priority over the default retry button.