Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Fine-Tune Card

ProNew

Agent design-property inspector for width, height, radius, and opacity with live morphing preview and one-click auto-tune.

Installation

pnpm dlx shadcn@latest add @viewport/fine-tune-card

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
defaultValuesDesignValues

Initial design token values.

DEFAULTS
suggestedValuesDesignValues

Preset values the "Auto-tune" button animates toward.

SUGGESTED
onApply(values: DesignValues) => void

Called when the user applies the tuned properties.

—
classNamestring—

Accessibility

  • Every property uses a real labelled range input with live numeric readouts.
  • Tabular numerals keep values aligned while scrubbing.
  • Preview morphing snaps directly under reduced motion.