Searching Puzzle Pieces

Type to search Puzzle Pieces.

Empty

An empty-state block for no-results moments — an optional icon, a title, a description, and an action slot, stacked in a centered muted column. Every region collapses when unused.

No projects yet

Create your first project to start collecting pieces into your workspace.

Installation

Copy the piece into your app — it compiles with your build and the code is yours:

puzzle add piece empty

Requires the pieces.css tokens merged into your app styles (see Introduction).

Usage

import Empty from '@/components/ui/Empty.pzl';
<Empty title="No projects yet" description="Create your first project to get started."></Empty>

Bare

No results

Try adjusting your filters or search terms.

Icon slot

No messages

When someone writes to you, it will show up here.

Pass a static inline SVG on the icon slot. Stroke or fill it with currentColor so it inherits the muted tint, and leave off a size — a bare SVG is sized for you. Omit the slot entirely for a text-only state.