Vesture

Feedback

EmptyState

A composable "no data" placeholder — centered icon, title, description, and an optional action — for empty lists, empty search results, or an empty Kanban column.

EmptyState

Preview

3 results for "vesture".

Usage

tsx
import { EmptyState, Button } from "@vesture/react";

<EmptyState
  title="No results found"
  description="Try adjusting your search or filters."
  action={<Button onClick={clearFilters}>Clear filters</Button>}
/>

Behavior

  • Deliberately minimal: it's a layout/composition primitive, not a widget. icon accepts any ReactNode — the library doesn't ship an icon set, so bring your own SVG or icon component.
  • title is the only required prop. description and action render only when passed, so a bare title works fine for a tight space.

Props

PropTypeDefaultDescription
titlestringRequired.
iconReactNodeRendered above the title at a large size. Omit for no visual.
descriptionstringSupporting copy below the title.
actionReactNodeTypically a Button, rendered below the description.