recruit/candidate-stage-actions · CandidateStageActions
Stage actions
Work a candidate through a pipeline: advance or jump ahead, contact, present to a client, reject or mark declined.
Riley Okafor is screened.
Install
With your coding agent
Install RecruiterOS/recruit-ui and add stage actions that move a candidate through my pipeline.With the shadcn CLI
pnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflowsProps
| Prop | Type | What it does |
|---|---|---|
| advance | CandidateStageAdvance | The primary move. With `moveOptions` it becomes a split button. |
| moveOptions | readonly CandidateStageOption<TValue>[] | Stages to jump straight to, in pipeline order. |
| onMove | (value: TValue) => void | |
| contact | ReactNode | A contact control placed after the move, such as a contact channels menu. |
| onPresent | () => void | Shows the present action, for sharing the candidate with a client. |
| onRequestReject | () => void | Shows the reject action. The host asks why, then moves the candidate. |
| onRequestDecline | () => void | Shows the declined action, for a candidate who opted out. |
| labels | Partial<CandidateStageActionsLabels> |
Data
The component takes plain values and callbacks and keeps no records of its own. Pass it yours, from the Kith data layer or from a backend you already run.