recruit/candidate-profile · CandidateProfile

Profile

A person's profile as a header, a body and a footer: who they are, where they have worked and how to reach them.

Riley Okafor

GTM Engineer · Example Labs · London

Builds outbound systems and runs them.

Career history3

GTM Engineer

Example Labs2023 to now

SDR Lead

Sample Analytics2020 to 2023

Earlier

  • SDR

    Fictional Robotics2018 to 2020

Install

With your coding agentInstall RecruiterOS/recruit-ui and build a candidate profile page with a header and career history.
With the shadcn CLIpnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflows

Props

CandidateProfile

PropTypeWhat it does
headerReactNode
childrenrequiredReactNode
footerReactNode
printModeCandidateProfilePrintMode`default` prints the card as it looks on screen. `flat` prints it without its border (or a shadow a host gave it), so a printed profile reads as a page rather than a card on one.

CandidateProfileHeader

PropTypeWhat it does
namerequiredReactNode
avatarReactNode
coverReactNode | nullThe person's own cover, as media the host owns. Left out, the kit's stock banner (`CoverBanner`) is drawn in its place, in the theme's colours; `null` draws no cover. A flush header (`padding="none"`) never draws the stock one: it sits inside a container the host pads, where a banner couldn't reach the edges.
coverSeedCandidateCoverSeedDeals the stock banner its design, the same one every time: the person's id, say. Left out, the name is the seed where it is plain text.
coverSizeCandidateCoverImageSizeThe cover's size, the person's own or the stock one. `compact` caps it at 96px, for a card wide enough that a full 4:1 banner would dwarf it; narrower than 384px it is 4:1 either way.
eyebrowReactNode
statusReactNode
metaReactNode
summaryReactNode
actionsReactNode
actionsPlacementCandidateProfileHeaderActionsPlacementWhere `actions` sit. `name` (the default) puts them on the name line, at its end, with the meta running under them. `aside` gives them a column of their own beside the whole identity, top-aligned, so a control taller than the name's line doesn't push the meta away from the name.
paddingExtract<CandidateCoverHeaderPadding, "lg" | "dialog" | "none">`lg` (the default) pads the header like a card's. `dialog` pads it like the kit's dialog header, so as a CandidateProfileDialog's `header` the name starts at the body's left edge, in line with what the body holds. `none` sits it flush in a container the host already pads, such as a drawer body.
titleLevelCandidateProfileHeaderTitleLevelThe name's heading level. 1 (the default) suits a profile that is the page. 2, 3 or 4 suit one inside something that already has the page's h1, such as a dialog over a page or a section of one. Only the tag changes: the name looks the same at every level.

CandidateProfileFooter

PropTypeWhat it does
childrenrequiredReactNode
justifyCandidateProfileFooterJustifyWhere the row's content sits along it. `start` by default.
paddingCandidateProfileFooterPaddingThe kit PanelSection's padding: `default` (26px) for a row of actions, `compact` for a single line such as a credit.
printVisibilityCandidateProfileFooterPrintVisibility`hidden` leaves the footer off a printed profile.

Data

On the Kith data layer, a profile reads a candidate's record. With your own backend, pass the same values.