Back to Components
Components

Empty State

Centered empty state placeholder with icon, text, and optional action.

No reports yet

Once reports are generated, they will show up here.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/empty-state.tsx

Installation

Using shadcn CLI

npx shadcn add empty-state --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge