Searching Puzzle Pieces

Type to search Puzzle Pieces.

Separator

A hairline divider. Horizontal is a full-width rule; vertical is a full-height rule that also carries aria-orientation. A class prop appends the caller's utilities, like margins or a fixed height.

Save your work often.

Publishing makes it public.

EditShareDelete

Installation

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

puzzle add piece separator

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

Usage

import Separator from '@/components/ui/Separator.pzl';
<Separator class="my-3" />

Orientation

SavePublishDiscard

Horizontal is the default and needs no orientation prop. A vertical separator sizes to its container, so give it a height — a fixed h-4 for inline rows, or let it stretch inside a flex row.