recruit/candidate-inline-card · CandidateInlineCard

Inline card

A compact candidate row for lists, messages and previews, with slots for status, meta, assessment and actions, and a denser single-row form.

RO
Riley Okafor
New

GTM Engineer at Example Labs

London · Sourced 12 Oct

AStrong fit
SL
Sam Lindqvist
Contacted

RevOps Lead at Sample Analytics

Stockholm · Sourced 9 Oct

BGood fit
AM
Alex Marchetti
Declined

Growth Engineer at Fictional Robotics

Milan · Sourced 2 Oct

CWorth a screen

Install

With your coding agentInstall RecruiterOS/recruit-ui and add a list of compact candidate cards with a status and a grade on each.
With the shadcn CLIpnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflows

Props

PropTypeWhat it does
namerequiredReactNode
avatarReactNode
coverReactNodeOptional host-owned media, in the shared 4:1 cover above the identity row.
coverSizeCandidateCoverImageSize`compact` caps the cover at 96px while retaining 4:1 on narrower cards.
headlineReactNode
metaReactNodeThe caption line under the headline, such as a location. A leading glyph (an `svg`, such as the kit's Icon, passed before the text) sits on the text's line, centred on its capitals, with a small gap after it.
assessmentReactNode
statusReactNode
actionsReactNode
selectedboolean
subduedboolean
onSelect() => void
selectLabelstring
densityCandidateInlineCardDensity`comfortable` (the default) gives the card room for an assessment; `compact` is a single dense row (smaller padding, the name and lines centred on the avatar, every line truncated) for fixed-height list rows and board columns: give a card without a cover a height and its content centres in it. A cover adds its natural height above the compact row. On a coarse pointer (a touchscreen) every link and button in a compact card's `actions` is at least 44px square, whatever size it asked for, so a dense row keeps its touch targets on a phone.
nameSizeCandidateInlineCardNameSizeThe name's size on a comfortable card. `default` suits a row among many; `lg` sets it at the kit's section-title size, for a short list in which each card stands on its own, such as the people shared with a client. A compact card keeps its small name either way.
headlineWrapbooleanOn a comfortable card, `true` lets the headline wrap onto further lines instead of ending in an ellipsis, so a long title and company still read in full on a phone. A compact row always truncates, to keep its height.
actionsAlignCandidateInlineCardActionsAlignWhere the `actions` sit across a comfortable card: `start` (the default) level with the name, or `center`, centred on the card's height, for a lone affordance such as a chevron. A compact row centres them already.

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.