Ask for a clear decision before an agent performs a consequential action.
Copy the command below and run it in your terminal.
Control visibility with bind:open. Cancel and Confirm close the modal and fire their onclick callbacks. Use verb-first labels
that name the exact action.
Match risk to impact. High-risk requests use destructive badge and confirmation styling.
ApprovalRequest.Root - Controls approval request visibility.
ApprovalRequest.Content - Renders the approval request surface.
ApprovalRequest.Header - Groups request summary content.
ApprovalRequest.Status - Displays the request status.
ApprovalRequest.Icon - Displays the request icon.
ApprovalRequest.Risk - Displays the request risk level.
ApprovalRequest.Title - Renders the request title.
ApprovalRequest.Description - Renders the request description.
ApprovalRequest.Details - Displays request details.
ApprovalRequest.Footer - Groups request actions.
ApprovalRequest.Cancel - Cancels and closes the request.
ApprovalRequest.Confirm - Confirms and closes the request.