Glasswave UI

Empty

Empty-state layout with media, title, and actions.

Empty
No messages

When something arrives, it will show up here.

Installation

1pnpm dlx shadcn@latest add @glasswave/empty

Usage

1import {2  Empty,3  EmptyHeader,4  EmptyMedia,5  EmptyTitle,6  EmptyDescription,7  EmptyContent,8} from "glasswave";

API Reference

EmptyMedia

PropTypeDefault
variant"default" | "icon""default"

The other parts render a <div> and accept its native attributes plus className.