Component libraryApproval queue
Approval queue
ProReview and decide submitted requests from one filterable queue.
npx shadcn@latest add @tidal-pro/approval-queueInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/approval-queue.css, components/ui/approval-request.css, components/ui/status-badge.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.
Usage
Complete example source · Dependency and asset manifest
Loading the complete example…
API & behavior
Consumer-owned requests with unique non-empty IDs, titles, exact requester/submission text, pending/approving/rejecting/approved/rejected/expired state, details and optional custom content. Controlled selection and optional all/pending/resolved filter retain consumer authority. A selected request outside the current filter remains visible with an explicit notice. Native selection buttons support props/ref, caller prevention and disabled normalization; the accepted Approval request owns decision-button behavior and focus after a decision. Optional request content can supply assignment and comment controls. Root section props/ref, fixed h2 queue heading with h3 request heading, localized labels, empty and unknown-selection states are supported. The component does not grant access, run exports, publish content, contact services or persist decisions. Consumers supply all authorization, confirmations and downstream effects. The demo changes only local sample requests.
Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.