Koori UI
Components

GlassEmpty

An empty state indicator with icon, title, description, and optional action.

Preview

No messages

When you receive new messages they will show up here.

Usage

import { GlassEmpty, GlassButton } from "koori-ui";
import { Inbox } from "lucide-react";
 
<GlassEmpty
  icon={<Inbox className="h-6 w-6" />}
  title="No messages"
  description="When you receive new messages they will show up here."
  action={<GlassButton variant="primary">Refresh</GlassButton>}
/>

Props

PropTypeDefaultDescription
iconReactNode<Inbox />Icon shown at the top
titlestringMain heading text
descriptionstringSupporting subtitle
actionReactNodeCall-to-action rendered below the description

All native <div> props are also accepted.

On this page