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 agentInstall RecruiterOS/recruit-ui and add a one or two column toggle to a grid of candidate cards.
With the shadcn CLIpnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflows

Props

CandidateCardColumnsToggle

PropTypeWhat it does
columnsrequiredCandidateCardColumns
onChangerequired(columns: CandidateCardColumns) => void
roomybooleanLarger controls, to sit beside a roomy toolbar.
labelsPartial<CandidateCardColumnsToggleLabels>
classNamestring

useCandidateCardColumns, what it returns

PropTypeWhat it does
columnsrequiredCandidateCardColumns
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.