recruit/candidate-career-history-panel · CandidateCareerHistoryPanel

Career history panel

A career history timeline under a counted header, scrolling within the viewport.

Career history4

Head of RevOps

Sample AnalyticsJan 2022Present

  • Leads the eight-person revenue operations team
  • Ran the move from spreadsheets to one CRM
RevOps Lead

Sample AnalyticsMay 2019Dec 2021

Sales Operations Analyst

Fictional RoboticsFeb 2016Apr 2019

Earlier

  • SDR

    Example LabsSep 2014Jan 2016

Install

With your coding agentInstall RecruiterOS/recruit-ui and add a career history panel to a candidate's profile.
With the shadcn CLIpnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflows

Props

PropTypeWhat it does
titleReactNodeThe section heading, "Career history" by default. The count of roles follows it once loaded.
itemsrequiredCandidateCareerHistoryTimelineProps["items"]
loadingbooleanSkeleton rows while there are no items yet.
emptyCandidateEmptyCopyThe blank slate's wording. Defaults to "No career history yet".
detailedCompanyGroupsnumberPassed to the timeline: how many employer groups keep their descriptions.
localestring
scroll"viewport" | "none"`viewport` (the default) caps the timeline at the viewport's height in a scroll area of its own, for a popover or a narrow side panel. `none` lets it run at full height, for a container that already scrolls, such as a profile dialog's body, so the history never scrolls inside the body.

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.