recruit/candidate-decision-bar · CandidateDecisionBar
Decision bar
Equal-weight decision buttons with a pressed state, for the foot of a card, a dialog or a sticky action bar.
Review, fill layout
Sam Lindqvist is waiting for a decision.
Next step, inline layout
Install
With your coding agent
Install RecruiterOS/recruit-ui and add a decision bar with yes, no and skip to the foot of a candidate card.With the shadcn CLI
pnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflowsProps
| Prop | Type | What it does |
|---|---|---|
| optionsrequired | readonly CandidateDecisionOption<TValue>[] | |
| value | TValue | |
| onChangerequired | (value: TValue) => void | |
| disabled | boolean | |
| ariaLabel | string | |
| trailing | ReactNode | |
| layout | "inline" | "fill" |
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.