Empty State

Dropdown MenuFile Upload

A friendly placeholder for screens with no data yet.

No projects yet

Get started by creating your first project. You can invite your team later.

Installation

pnpm add krz-ui

Usage

import { EmptyState, Button } from "krz-ui";
<EmptyState
  icon={<FolderIcon />}
  title="No projects yet"
  description="Create your first project to get started."
  action={<Button>New project</Button>}
  bordered
/>

API Reference

PropTypeDescription
iconReactNodeIllustration or icon above the title.
title / descriptionReactNodeWhat's empty, and what to do next.
actionReactNodeButtons or links.
borderedbooleanDashed border around the state.
size"sm" | "md"Compact version for cards and panels.
className / style / ref—All go to the outer element. See Customization.
classNames{ icon?, title?, description?, action? }Extra classes for inner parts.