# Inline card (/ui/candidate-inline-card)

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

A compact candidate row for lists and messages.

## Props [#props]

| Prop | Type | What it does |
| --- | --- | --- |
| `name` (required) | `ReactNode` |   |
| `avatar` | `ReactNode` |   |
| `cover` | `ReactNode` | Optional host-owned media, in the shared 4:1 cover above the identity row. |
| `coverSize` | `CandidateCoverImageSize` | `compact` caps the cover at 96px while retaining 4:1 on narrower cards. |
| `headline` | `ReactNode` |   |
| `meta` | `ReactNode` | The 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. |
| `assessment` | `ReactNode` |   |
| `status` | `ReactNode` |   |
| `actions` | `ReactNode` |   |
| `selected` | `boolean` |   |
| `subdued` | `boolean` |   |
| `onSelect` | `() => void` |   |
| `selectLabel` | `string` |   |
| `density` | `CandidateInlineCardDensity` | `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. |
| `nameSize` | `CandidateInlineCardNameSize` | The 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. |
| `headlineWrap` | `boolean` | On 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. |
| `actionsAlign` | `CandidateInlineCardActionsAlign` | Where 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 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.

It shows [`Candidate`](/api/reference/objects/candidate) from the [Kith ATS API](/api).

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

```text title="Copy to your agent"
Install RecruiterOS/recruit-ui and add a list of compact candidate cards with a status and a grade on each.
```