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 agentInstall RecruiterOS/recruit-ui and add a suggested roles panel to a person's profile.
With the shadcn CLIpnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflows

Props

PropTypeWhat it does
countrequirednumberHow many roles are suggested. Zero shows the empty state instead of `children`.
titleReactNodeThe section heading.
descriptionReactNodeA muted line under the heading explaining where the suggestions come from.
emptyCandidateEmptyCopyThe blank slate's wording. Defaults to "No suggested roles yet".
childrenReactNodeThe 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.