ReviewActionBar
Decision footer for a record under review: approve / request changes / reject.
Signature
Density
Viewport
Theme and light/dark are set in the top barWhen to use
Decision footer for a record under review: approve / request changes / reject.
Accessibility
Pipeline/timeline state is conveyed in text (not just colour); action bars are keyboard reachable and announce the item under review.
Install and import
npx shadcn@latest add @prism/review-action-bar
import { ReviewActionBar } from '@/components/prism/ReviewActionBar';
In a no-build prototype, read it from the bundle instead: const { ReviewActionBar } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
summary | React.ReactNode | — | Left-side at-a-glance status, e.g. "3 of 5 sections complete". |
meta | React.ReactNode | — | Secondary context line — reviewer, SLA, last updated. |
onApprove | () => void | — | |
onRequestChanges | () => void | — | |
onReject | () => void | — | |
approveLabel | string | — | |
requestLabel | string | — | |
rejectLabel | string | — | |
pending | boolean | — | Busy state — disables actions, shows "Approving…". |
disabled | boolean | — | |
sticky | boolean | — | Stick to the bottom of the review surface. Default true. |
className | string | — |