DUErrorState

Utility

Error empty state with optional recovery action.

import { DUErrorState, DUButton } from 'deri-ui';
Live preview

Request failed

Please retry.

typescript
<DUErrorState title="Failed" action={<DUButton>Retry</DUButton>} />

Props

PropTypeDefaultDescription
title / descriptionstringCopy
actionReactNodeRecovery CTA

Usage

import { DUErrorState, DUButton } from 'deri-ui';

<DUErrorState title="Failed" action={<DUButton>Retry</DUButton>} />

Customize with className, radius, and Tailwind utilities. Theme tokens come from deri-ui/tailwind.preset.

© 2026 Deri Ui. Developed by Deribew Shimelis. Copy and use the code freely in your projects.