recruit/candidate-header-actions · CandidateHeaderActions
Header actions
The quiet cluster of controls in a candidate card's header, and an icon-only action to put in it.
Alex Marchetti
Pick an action.
Install
With your coding agent
Install RecruiterOS/recruit-ui and add header actions for email, call and favourite to a candidate card.With the shadcn CLI
pnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflowsProps
CandidateHeaderActions
| Prop | Type | What it does |
|---|---|---|
| childrenrequired | ReactNode | The controls, in order: usually icon actions and link buttons. |
CandidateIconAction
| Prop | Type | What it does |
|---|---|---|
| iconrequired | ElementType | The glyph, as a component such as a lucide icon. |
| titlerequired | string | The tooltip and accessible name, such as "Email Mei Tanaka". |
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.