Behive Tech Component Registry

Empty State

v0.3.4Stable

A generic centered placeholder for empty lists, grids, or search results: an optional icon, a description, and an optional action. Modeled on AntD's `Empty` — reusable anywhere something has nothing to show yet.

pnpm add @behivetech/molecules.empty-state

A generic centered placeholder for empty lists, grids, or search results: an optional icon, a description, and an optional action. Modeled on AntD's Empty — reusable anywhere something has nothing to show yet.

Usage

Open in new tab

Properties

EmptyState props

PropTypeDefaultDescription
description*ReactNode—Message explaining the empty state
childrenReactNode—Action content rendered below the description (typically a Button)
classNamestring—Additional class names to merge with the component root element
iconReactNode—Icon or illustration shown above the description

Also accepts the native attributes of its root element (className, aria-*, event handlers, …).