recruit/candidate-selectable-avatar · CandidateSelectableAvatar
Selectable avatar
A candidate's avatar that doubles as a batch-selection toggle, with a check overlay while selected.
1 of 3 selected for a batch action.
Install
With your coding agent
Install RecruiterOS/recruit-ui and add batch selection to a review queue with selectable avatars.With the shadcn CLI
pnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflowsProps
| Prop | Type | What it does |
|---|---|---|
| selectedrequired | boolean | |
| onTogglerequired | () => void | Called with no arguments; the host adds or removes the candidate. |
| labelrequired | string | The accessible name, such as "Select Mei Tanaka". |
| title | string | The tooltip. Defaults to "Select", or "Deselect" while selected. |
| childrenrequired | ReactNode | The avatar, usually the kit's PersonAvatar. |
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.