New: Kith open-sources its ATS.Read why
Skip to Content

Role matches

Roles a person may fit: a compact summary of rows, and a list with why and a confirmed add action.

What it shows

Roles a person may fit, with why.

Props

CandidateRoleMatchList

PropTypeWhat it does
heading (required)ReactNodeThe eyebrow over the list, such as "Possible roles for Mei".
matches (required)readonly TItem[]
onOpen(id: TItem["id"]) => voidOpens a role in place. When set, a click on the title calls it instead of following href, for a surface that already shows the person.
onAddToRole(id: TItem["id"]) => Promise<void>Enables the add action. Resolve once the candidate is on the role (the row then shows the added badge); reject when it failed, having told the person why, and the role stays addable.
confirm (required)CandidateRoleMatchConfirm<TItem>
labelsPartial<CandidateRoleMatchListLabels>

CandidateRoleMatchSummary

PropTypeWhat it does
matches (required)readonly TItem[]
onOpen (required)(id: TItem["id"]) => voidCalled with a role's id when its row is activated.

Data it needs

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.

Copy to your agent

Copy to your agent
Install RecruiterOS/recruit-ui and add a list of the roles a person may fit, with why and an add to role action.