recruit/candidate-profile-dialog · CandidateProfileDialog

Profile dialog

A responsive profile shell: a centred dialog or a side sheet on wide screens and a bottom drawer or sheet on phones, with explicit accessibility slots.

SL
Sam Lindqvist

RevOps Lead at Sample Analytics

Stockholm · Sourced 9 Oct

Install

With your coding agentInstall RecruiterOS/recruit-ui and add a profile dialog that opens from each candidate card.
With the shadcn CLIpnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflows

Props

PropTypeWhat it does
accessibleTitlerequiredReactNode
accessibleDescriptionReactNode
triggerReactElement
openboolean
defaultOpenboolean
onOpenChange(open: boolean) => void
presentationCandidateProfileDialogPresentation`dialog` (the default) or `sheet`.
heightCandidateProfileDialogHeight`viewport` (the default) or `content`; the desktop dialog's only.
headerReactNodeThe visible head, such as a CandidateProfileHeader. It keeps its natural height and only the body scrolls, also in a drawer or bottom sheet, whose height is capped rather than fixed. A CandidateProfileHeader with `padding="dialog"` starts at the body's left edge.
childrenrequiredReactNode
footerReactNode
footerLayout"auto" | "fill"
showClosebooleanDisable only when a composed header or footer supplies its own close: the kit's ResponsiveDialogClose in a dialog, its SheetClose in a sheet.
closeLabelstring
contentClassNamestringClass for the dialog or sheet surface. A sheet is as wide as the centred dialog by default; widen it here, for example for a two-column profile.
bodyClassNamestring

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.