Skip to content
SevenUI
Sign in
On this page

Empty

Displays an empty state with media, title, description, and actions.

No projects yet
You haven't created any projects. Start by creating your first one.

Installation

Bash

Usage

The component is pure composition: EmptyHeader holds media, title, and description; EmptyContent holds actions such as buttons, links, or an input group. Add border or background utilities on Empty to frame it.

Examples

With avatar

EmptyMedia with the default variant renders arbitrary media — here an avatar for a person-centric empty state.

EC
Emma is offline
Messages you send will be delivered when they come back online.

API reference

EmptyMedia

Extends div.

PropTypeDefault
variant"default" | "icon""default"

The icon variant renders a muted square tile sized for a single icon; default leaves the media unstyled for avatars and images.

Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent

Structural wrappers extending div — they accept standard div props and className for layout tweaks.

Was this page helpful?