Skip to content

Empty

Free

What a page, a panel, or a list shows when it has no content yet: an icon, a short title and text, and buttons for the next step.

  • React 19
  • Tailwind CSS 4

Added Nov 8, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Put the parts in the root. Add the next step in EmptyContent.

The sample also uses Button. One command adds them with this item:

no-projects.tsx

Empty

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmptyHeader

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmptyMedia

<div>
PropTypeDefaultDescription
variant"default""icon""default"
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmptyTitle

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

EmptyDescription

<p>
PropTypeDefaultDescription
...props<p> attributes—Every other attribute goes to the <p>, with a ref.

EmptyContent

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Use it in place of a list with no rows.
  • Use className="border" for a dashed outline.
  • Use className="bg-muted/50" for a soft fill.
  • For a failed action, use an Alert.
  • For a load that will finish soon, use a Skeleton.

The title and the description are plain text in reading order.

It adds no tab stop of its own.

  1. AddedEmpty.
Open the release