Searching Puzzle Pieces

Type to search Puzzle Pieces.

Textarea

Field's composite pattern for multi-line text — label, hint or error helper text, and ARIA wiring come built in. Controlled via @change; rows sets the initial height and the box grows with resize.

Installation

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

puzzle add piece textarea

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

Usage

import Textarea from '@/components/ui/Textarea.pzl';
<Textarea label="Bio" rows={ 4 } value={ bio } @change={ setBio } />

Hint

A sentence or two about yourself.

Error

Message is required