Docs Approval Flow
Internal policy that moves from draft to legal and security review before being published.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this feature
What it's for
- Internal policy that moves from draft to legal and security review before being published.
- Technical proposal (RFC) that requires approval from two leads and resolution of blocking comments.
- Contract or addendum circulated among owners with comments anchored to sections.
For Legally binding electronic signature with signer order, use Docs Esignature Flow. For Line-by-line code review with a diff, use Code Diff Viewer.
Includes
- Approval state machine
- Draft review approved stages
- Reviewer assignment
- Required approval gating
- Blocking comment gating
- Threaded review comments
- Comment resolution
- Change request round trip
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
agentic-ui add docs-approval-flownpx shadcn@4.17.0 add @agentic-ui/docs-approval-flowUsed in
A standalone component: drop it into any screen.
- Type
- Feature
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- npm packages
lucide-react- Registry dependencies
- None
- Files
8 files
- components/agentic-ui/docs-approval-flow/index.tsx
- components/agentic-ui/docs-approval-flow/types.ts
- components/agentic-ui/docs-approval-flow/workflow.ts
- components/agentic-ui/docs-approval-flow/AuditTrail.tsx
- components/agentic-ui/docs-approval-flow/CommentThread.tsx
- components/agentic-ui/docs-approval-flow/ReviewerList.tsx
- components/agentic-ui/docs-approval-flow/ApprovalStepper.tsx
- components/agentic-ui/docs-approval-flow/DocsApprovalFlow.tsx
Related components
Docs Editor Shell
Product documentation space (PRD) with a section outline and word goal tracking.
Details and live previewDocs Esignature Flow
Master services agreement (MSA) with sequential signing between legal counsel, CFO and investor client.
Details and live previewDocs Knowledge Base
Help center and technical knowledge base with article navigation and rating.
Details and live previewAgency Image Annotation
Client review of design proofs in an agency portal.
Details and live preview