recruit/candidate-suggested-roles-panel · CandidateSuggestedRolesPanel
Suggested roles panel
A counted section for the roles suggested for one person, or the empty state when there are none.
Suggested roles1
Roles raised from this person's calls.
Possible roles for Riley
Built the outbound stack at Example Labs and wants to do it again from scratch.
Suggested roles0
Roles raised from this person's calls.
No suggested roles yet
When a call surfaces a fit with an open role, it appears here.
Install
With your coding agent
Install RecruiterOS/recruit-ui and add a suggested roles panel to a person's profile.With the shadcn CLI
pnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflowsProps
| Prop | Type | What it does |
|---|---|---|
| countrequired | number | How many roles are suggested. Zero shows the empty state instead of `children`. |
| title | ReactNode | The section heading. |
| description | ReactNode | A muted line under the heading explaining where the suggestions come from. |
| empty | CandidateEmptyCopy | The blank slate's wording. Defaults to "No suggested roles yet". |
| children | ReactNode | The suggestions, usually a CandidateRoleMatchList. |
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.