Skip to content
Forms

ApprovalCard

A human-in-the-loop approval widget with radio or checkbox option selection, optional risk level badge, custom text input, and approve / reject callbacks.

Preview:
1280px

Deploy to production?

The agent wants to push the compiled build to the production cluster. This action is irreversible.

Medium risk

Props

PropTypeDefaultDescription
titlestring-Heading text for the card.
descriptionstring-Supporting detail shown below the title.
optionsApprovalOption[]-Selectable choices to show.
type'radio' | 'checkbox''radio'Single or multi-select mode.
allowCustombooleanfalseShow a free-text input option.
onApprove(selected: string[]) => void-Fired with selected option IDs on approve.
onReject() => void-Fired when the user clicks Reject.