Approval request preview
Review a proposed action, confirm its scope and approve or reject it.
pro · Blocks · composite
When to use
- Use it when a page needs review a proposed action, confirm its scope and approve or reject it.
- Choose it inside an authenticated product surface when the host application owns routing, persistence, and service calls.
Alternatives
- Choose empty-state instead when empty collections, search results and errors with a clear next action is the actual interface need, rather than approval request.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/approval-requestImport components/ui/tidal.css, components/ui/approval-request.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/approval-request.css";
import{TidalApprovalRequest}from"./components/ui/approval-request";
export default()=><div className="tidal-scope"><TidalApprovalRequest onApprove={() => {}} onReject={() => {}} title={"Demo"}/></div>;API and props
TidalApprovalRequest.onApprove (required)(event: MouseEvent<HTMLButtonElement>) => voidCallback invoked when the approve interaction is proposed.
TidalApprovalRequest.onReject (required)(event: MouseEvent<HTMLButtonElement>) => voidCallback invoked when the reject interaction is proposed.
TidalApprovalRequest.title (required)ReactNodeRequired title value accepted by this exported component.
TidalApprovalRequest.approveButtonPropsOmit<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "type" | "children"> | undefinedOptional approve button props value accepted by this exported component.
TidalApprovalRequest.approveLabelstring | undefinedOptional approve label value accepted by this exported component.
TidalApprovalRequest.approveRefRef<HTMLButtonElement> | undefinedOptional approve ref value accepted by this exported component.
TidalApprovalRequest.childrenReactNodeOptional children value accepted by this exported component.
TidalApprovalRequest.confirmationTidalApprovalConfirmation | undefinedOptional confirmation value accepted by this exported component.
TidalApprovalRequest.descriptionReactNodeOptional description value accepted by this exported component.
TidalApprovalRequest.detailsReadonlyArray<{ id: string; label: ReactNode; value: ReactNode; }> | undefinedOptional details value accepted by this exported component.
TidalApprovalRequest.disabledboolean | undefinedOptional disabled value accepted by this exported component.
TidalApprovalRequest.readOnlyboolean | undefinedOptional read only value accepted by this exported component.
TidalApprovalRequest.rejectButtonPropsOmit<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "type" | "children"> | undefinedOptional reject button props value accepted by this exported component.
TidalApprovalRequest.rejectLabelstring | undefinedOptional reject label value accepted by this exported component.
TidalApprovalRequest.rejectRefRef<HTMLButtonElement> | undefinedOptional reject ref value accepted by this exported component.
TidalApprovalRequest.stateTidalApprovalState | undefinedOptional state value accepted by this exported component.
TidalApprovalRequest.statusNoteReactNodeOptional status note value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.