Getting Started
Foundations
Components
Search for a command to run...
Empty states communicate to users when a view, list, search result, or content area has no data to display. This component provides a structured way to present empty states with icons, titles, descriptions, and call-to-action elements through composable subcomponents.
Use empty states to guide users toward productive actions, explain why content is missing, or provide encouragement when getting started with a feature. Effective empty states reduce confusion and improve user experience by turning moments of absence into opportunities for engagement.
import { Empty } from "@strongtie/design-system/empty"This module exports the following components:
EmptyEmptyHeaderEmptyTitleEmptyDescriptionEmptyContentEmptyMedia<EmptyMedia>| Prop | Type | Default | Description |
|---|---|---|---|
variant | "default" | "icon" | null | default |
Components can be styled using the className prop. The design system uses Tailwind CSS for styling.
CSS classes used by this component:
emptyEnsure proper accessibility attributes are added when implementing this component.