Searching Puzzle Pieces

Type to search Puzzle Pieces.

Badge

A small status chip in four variants. Slot content is the label — text, or text beside a tiny inline icon.

DefaultBrandDangerOutline

Installation

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

puzzle add piece badge

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

Usage

import Badge from '@/components/ui/Badge.pzl';
<Badge>Default</Badge>

In context

Billing plan

Pro
Invoice #1042Overdue
Invoice #1043Draft