R 8R 12
4
896 × 54
ComposeUI
ComponentsChartsBlocksDocs

Let's have coffee?

R 16
Subham avatar
Want to work together? Just want to chat?
Subham avatar
Check out my portfolio: subham12r.dev
Subham avatar
Or grab 15 mins on my calendar:
Coffee chat
Portfoliosubham12r.dev
Mail
hello@subham12r.dev
Socials
X / Twitter·GitHub·LinkedIn
Explore
Components·Charts·Blocks·Docs

Designed and built by Subham

ComposeUIComposeUI
© 2026 ComposeUI·React + Tailwind v4

How many variants should we launch?

1/3

Approval Card

Fill
Stroke
Color

Approval Card

Workflow

Multi-step human-in-the-loop confirmation card with keyboard shortcuts and custom fallback input.

"use client"; import { ApprovalCard } from "@/components/compose/approval-card"; export function HumanGate() {  return (    <ApprovalCard      questions={[        {          prompt: "How many variants should we launch?",          options: ["Three (core line)", "Five (full suite)"],        },      ]}      onComplete={(answers) => console.log("Approved:", answers)}    />  );}

Install

Add it with the ComposeUI CLI, or copy the source manually.

$ bunx --bun compose-ui-cli add approval-card

API Reference

Prop
Type
Default
questions
ApprovalQuestion[]

Sequential decision prompts presented with option rows and index badges.

—
allowCustom
boolean

Shows an inline fallback text input when preset options are skipped.

true
onComplete
(answers: Record<number, string>) => void

Fires after the user confirms the final step.

—

Related components

#
R 12
Matched light and dark contrast IDs12/12
Flagged stale utilities0
Reading design export3 files
Scoring motion smoothness68%
Quick-start CLI commandready
Component usage snippetready
Task Rows
R 12
Type to search sources & files
Prompt Bar
R 12
clicks: 0
Button

Updated December 2026

R 12
Previous

Streaming Text

R 12
Next

Tool Chips