Controls

Presets

named sets of values to jump to · the matching one is pressed and checked

PresetsWeb only

API

<Presets presets={[{name,values}]} values onApply />

Get it

Already in every copy of the web kit:

import { Presets, matchesPreset } from '@/components/controls/presets';

Details

Exports
Presets, matchesPreset
Packages
cn@^0.5.2, lucide-react@^1.52.0
Installs with
@halftone-web/lib-controls-schema
Also searched as
snapshots, saved settings, looks
Registry JSON
/r/web/presets.json

Agents: the whole registry is at /llms.txt.