# Add to job popover (/ui/candidate-add-to-job-popover)

## What it shows [#what-it-shows]

Adds people to a job, at a stage.

## Props [#props]

| Prop | Type | What it does |
| --- | --- | --- |
| `jobs` (required) | `readonly CandidateAddToJobOption<TJob>[]` | The jobs people can be added to, in order. |
| `stages` (required) | `readonly CandidateAddToJobOption<TStage>[]` | The stages they can land at, in order. |
| `defaultStage` | `TStage` | The stage picked each time the popover opens. Defaults to the first stage, as does a value `stages` doesn't list. |
| `defaultJob` | `TJob` | The job picked each time the popover opens, such as a suggested match. A value `jobs` doesn't list, such as a job the person was just added to and the host has since left out, counts as no pick. |
| `count` | `number` | How many people this adds; the default heading says so when it is more than one. |
| `onConfirm` (required) | `(job: TJob, stage: TStage) => void \| Promise<void>` | Adds the people to the picked job at the picked stage. The popover closes once it settles; if it throws, it stays open with its choices, so report the failure here. |
| `assessors` | `readonly CandidateAddToJobOption<TAssessor>[]` | Who or what can assess people for the job instead of a stage being set, such as a screening checklist. With `onAssess`, a toggle offers this second mode. |
| `onAssess` | `(job: TJob, assessor: TAssessor) => void \| Promise<void>` | Adds the people to the job and has the picked assessor assess them. |
| `assessIcon` | `ElementType` | The assess mode's glyph, on its toggle and submit button. |
| `trigger` | `ReactNode` | The element that opens the popover. Defaults to an outline "Add to job" button. |
| `align` | `"start" \| "center" \| "end"` | Where the popover lines up with its trigger. Defaults to `start`. |
| `empty` | `CandidateEmptyCopy` | The empty state inside the job select when there are no jobs. |
| `labels` | `Partial<CandidateAddToJobPopoverLabels>` |   |

## Data it needs [#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.

## Copy to your agent [#copy-to-your-agent]

```text title="Copy to your agent"
Install RecruiterOS/recruit-ui and add an add to job popover that picks the job and the stage.
```