Empty State

A placeholder for sections that have no content to display.

Installation

Import the component from the passport-ui package.

components/example.tsx
1import { EmptyState } from "passport-ui";

Usage

Basic example showing how to use the component.

components/example.tsx
1<EmptyState
2 title="No results found"
3 description="Try adjusting your search or filter to find what you're looking for."
4 action={<Button>Clear filters</Button>}
5/>

Additional resources

Documentation and examples are available in Storybook.