Searching Puzzle Pieces

Type to search Puzzle Pieces.

Field

The workhorse labeled text input — label, hint or error helper text, and ARIA wiring come built in. Controlled: the parent owns the value and updates it from @change.

Installation

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

puzzle add piece field

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

Usage

import Field from '@/components/ui/Field.pzl';
<Field label="Full name" placeholder="Ada Lovelace" value={ name } @change={ setName } />

Hint

As it appears on your invoice

Error

That address is already in use

Disabled