Skip to content

Empty ​

Composition empty-state.

ts
import { Empty, EmptyHeader, EmptyTitle, EmptyDescription } from "@minap/ui";

Examples ​

Mẫu sống trong Preview; chọn View code khi cần copy.

Usage ​

tsx
import { Card, CardContent, Empty, EmptyDescription, EmptyHeader, EmptyTitle } from "@minap/ui";

export function Example() {
  return (
    <Card className="w-full">
      <CardContent className="p-6">
        <Empty>
          <EmptyHeader>
            <EmptyTitle>No items</EmptyTitle>
            <EmptyDescription>Empty state helper</EmptyDescription>
          </EmptyHeader>
        </Empty>
      </CardContent>
    </Card>
  );
}

Props / API ​

Prop / APITypeDefaultNotes
classNamestring—

Behavior ​

  • EmptyContent
  • EmptyMedia

MINAP UI — Soft Periwinkle light, Mobile-First