Zephora UI

Feedback

Empty

Placeholder for views with nothing to show — built-in inbox illustration, title, description and an actions area rendered from children.

Import

import { Empty } from "@zephora/react";

Examples

Basic

No projects yet
Create your first project to get started.

With actions

Children render inside a dedicated actions area under the description.

No results
Try a different search term.

Sizes and custom icon

Inbox zero
No data
Large scale placeholder.

API

Empty props

PropTypeDefaultDescription
iconReactNodeIllustration shown above the title. Defaults to a built-in inbox drawing.
titleReactNode"No data"Headline.
descriptionReactNodeSupporting copy under the title.
size"sm" | "md" | "lg""md"Overall scale.
childrenReactNodeRendered as an actions area under the description.
unstyledbooleanfalseHeadless mode — skips Zephora styling.