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.
What it shows
A profile in a dialog, or a drawer on a phone.
Props
| Prop | Type | What it does |
|---|---|---|
accessibleTitle (required) | ReactNode | |
accessibleDescription | ReactNode | |
trigger | ReactElement | |
open | boolean | |
defaultOpen | boolean | |
onOpenChange | (open: boolean) => void | |
presentation | CandidateProfileDialogPresentation | dialog (the default) or sheet. |
height | CandidateProfileDialogHeight | viewport (the default) or content; the desktop dialog's only. |
header | ReactNode | The 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. |
children (required) | ReactNode | |
footer | ReactNode | |
footerLayout | "auto" | "fill" | |
showClose | boolean | Disable only when a composed header or footer supplies its own close: the kit's ResponsiveDialogClose in a dialog, its SheetClose in a sheet. |
closeLabel | string | |
contentClassName | string | Class 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. |
bodyClassName | string |
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.
It shows Candidate from the Kith ATS API.
Copy to your agent
Install RecruiterOS/recruit-ui and add a profile dialog that opens from each candidate card.