recruit/candidate-channel-actions · CandidateChannelActions
Channel actions
The ways to reach a person (email, call, message, a profile) as round icon links or a labelled action bar.
Install
With your coding agent
Install RecruiterOS/recruit-ui and add email, call and message links to a candidate's header.With the shadcn CLI
pnpm dlx shadcn@latest add RecruiterOS/recruit-ui/recruit-workflowsProps
| Prop | Type | What it does |
|---|---|---|
| channelsrequired | readonly CandidateChannel[] | The channels, in order. Leave out any the host has no address for. |
| presentation | "icons" | "bar" | `icons`: a row of round icon links. `bar`: labelled links that share a row equally, for an action bar; a link too narrow for its label (five channels on a phone) shows the glyph alone, still named by the label. |
| size | "default" | "compact" | Icon size: `default` keeps the kit's 44px touch target, `compact` suits a dense card row. On a coarse pointer (a touchscreen) every link is at least 44px square at either size, so a phone keeps the touch target. |
| label | string | The group's accessible name, such as "Contact Mei Example". |
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.