recruit/candidate-card-columns-toggle · CandidateCardColumnsToggle
Card columns toggle
One or two candidate cards per row, remembered per list for the session. Desktop only.
Riley Okafor
Sam Lindqvist
Alex Marchetti
Jordan Mbeki
Install
With your coding agent
Install RecruiterOS/recruit-ui and add a one or two column toggle to a grid of candidate cards.With the shadcn CLI
pnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflowsProps
CandidateCardColumnsToggle
| Prop | Type | What it does |
|---|---|---|
| columnsrequired | CandidateCardColumns | |
| onChangerequired | (columns: CandidateCardColumns) => void | |
| roomy | boolean | Larger controls, to sit beside a roomy toolbar. |
| labels | Partial<CandidateCardColumnsToggleLabels> | |
| className | string |
useCandidateCardColumns, what it returns
| Prop | Type | What it does |
|---|---|---|
| columnsrequired | CandidateCardColumns | |
| setColumnsrequired | (columns: CandidateCardColumns) => void |
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.