fndn/ui

Blocks

Fine-tune Card

Beta

A small inspector for the last adjustments to something an agent made.

Details

A compact inspector an agent hands over for the last adjustments to what it made. It holds a layout switch (our segmented control), scrubbable number fields and a type picker (our select). Drag a field's label to scrub it, or type, or use the arrow and page keys; the value never changes width. Once anything differs from where the card started, the header's "Adjust" hint crossfades to "Edited" with a Reset action, without moving anything. Number fields run the Zag number-input machine, through Ark UI's NumberInput in React, Vue and Svelte.

Behaviour from Ark UI, the number-input machine of Zag.