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 agentInstall RecruiterOS/recruit-ui and add stage actions that move a candidate through my pipeline.
With the shadcn CLIpnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflows

Props

PropTypeWhat it does
advanceCandidateStageAdvanceThe primary move. With `moveOptions` it becomes a split button.
moveOptionsreadonly CandidateStageOption<TValue>[]Stages to jump straight to, in pipeline order.
onMove(value: TValue) => void
contactReactNodeA contact control placed after the move, such as a contact channels menu.
onPresent() => voidShows the present action, for sharing the candidate with a client.
onRequestReject() => voidShows the reject action. The host asks why, then moves the candidate.
onRequestDecline() => voidShows the declined action, for a candidate who opted out.
labelsPartial<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.