fndn/ui

Blocks

Approval Card

Beta

Questions and actions an agent asks a person to approve before it goes on.

Details

The decisions an agent asks for before it acts, so a person can approve or steer the work. Two modes. Questions: one at a time, the card's height follows the question while the stack slides, the step counter rolls, a single-choice pick auto-advances and a multi-select waits; a custom answer row, Previous/Next, a ghost Skip and an accent Continue; settles into an 'Answers sent' pill. Approve (the action prop): one action described (title, a sentence, the exact command, its details), an optional 'Always allow' checkbox, Deny and an accent Approve; settles into an 'Approved' (green) or 'Denied' (neutral) pill.