Empty State

A placeholder for an empty list, search or page, with the action that fills it.
Stable
Web
iOS
Android
@advui/core
Source

Basic

No projects yet

Projects keep your files and team in one place.

Installation

pnpm
pnpm add @advui/core
npm
npm install @advui/core

Usage

import { Button, EmptyState } from '@advui/core'
import { MailIcon } from '@advui/icons'

<EmptyState
  icon={<MailIcon />}
  title="No messages"
  description="New messages will show up here."
>
  <Button>Compose</Button>
</EmptyState>

Examples

API reference

EmptyState

PropTypeDefaultDescription
titleReactNode—Short heading.
descriptionReactNode—One or two sentences.
iconReactNode—Icon in a circle above the title.
childrenReactNode—Actions, usually Buttons.
headingLevel1 | 2 | 3 | 4 | 5 | 63Heading level of the title.
borderedbooleanfalseDashed border, for empty areas inside a page.
tone'default' | 'error''default'Colors of the icon circle.

Accessibility

  • The title is a heading (h3 by default), so screen-reader users can find it; set headingLevel to fit the page outline.
  • The icon is decorative and hidden from assistive technology.
Since v0.4.0Last updated Nov 2, 2026Edit this page on GitHub