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 agentInstall RecruiterOS/recruit-ui and add batch selection to a review queue with selectable avatars.
With the shadcn CLIpnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflows

Props

PropTypeWhat it does
selectedrequiredboolean
onTogglerequired() => voidCalled with no arguments; the host adds or removes the candidate.
labelrequiredstringThe accessible name, such as "Select Mei Tanaka".
titlestringThe tooltip. Defaults to "Select", or "Deselect" while selected.
childrenrequiredReactNodeThe 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.