Searching Puzzle Pieces

Type to search Puzzle Pieces.

Fader

A tall filled parameter row, the kind a DAW, Blender, or After Effects puts next to every numeric setting: an inline label on the left, a right-aligned readout on the right, faint interior ticks, and a thin bar handle. Same semantics as a slider — it just reads as a flat dial you turn up rather than a scale you pick a point on. Press anywhere in the row to jump the value, then drag.

It is controlled — the parent owns the value and reads it back from @input (live during drag) and @change (on commit). Arrow keys, PageUp / PageDown, and Home / End work on the focused row. Fader is single-value only: need two thumbs? Use the Slider.

Installation

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

puzzle add piece fader

Pulls in the shared value math at app/lib/slider-math.js. Requires the pieces.css tokens merged into your app styles (see Introduction).

Usage

import Fader from '@/components/ui/Fader.pzl';
<Fader label="Feather" value={ feather } min={ 0 } max={ 20 } step={ 0.5 } unit="px"
  @input={ setFeather } @change={ setFeather } />

Steps

Vertical

Ticks

Formatting

Disabled