# Careers Benefits

> Benefits section for a careers page: up to three headline figures above the full list, grouped by category with each label pinned beside its perks. A location switch handles benefits that differ by country: values and descriptions cross-fade in place, perks not offered there fold away and group counts update. Ends with small print and a link to open roles with a count.

- Slug: `careers-benefits`
- Category: [Team](https://www.assembli.design/category/team.md)
- Type: block
- Tags: careers, benefits, perks, hiring, about, locations
- npm dependencies: motion, lucide-react
- shadcn/ui dependencies: none
- Live preview: https://www.assembli.design/preview/careers-benefits
- Page: https://www.assembli.design/components/careers-benefits

![Careers Benefits preview](https://www.assembli.design/thumbnails/careers-benefits-light.png)

## Props

Other props pass through to the root element.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `eyebrow` | `React.ReactNode` | `"Benefits"` |  |
| `title` | `React.ReactNode` | `"Looking after the people who do the work"` |  |
| `intro` | `React.ReactNode` |  |  |
| `benefits` (required) | `CareersBenefit[]` |  |  |
| `highlights` | `CareersHighlight[]` |  | Up to three big figures above the list. |
| `regions` | `string[]` |  | Locations for the switch, e.g. ["United States", "United Kingdom"]. Hidden when unset. |
| `defaultRegion` | `string` |  |  |
| `categories` | `string[]` |  | Group order. Defaults to the order categories first appear. |
| `cta` | `{ label: string; href: string; count?: number }` |  |  |
| `note` | `React.ReactNode` |  | Small print under the list. |

## Install

One-time setup (needs a subscription):

1. Add the registry to the project's `components.json`: `{"@assembli":{"url":"https://www.assembli.design/r/{name}.json","headers":{"Authorization":"Bearer ${ASSEMBLI_API_KEY}"}}}` (merge into `"registries"`).
2. Put an API key from https://www.assembli.design/account in `.env.local` as `ASSEMBLI_API_KEY=asm_…`.

Then install with the shadcn CLI (writes `components/careers-benefits/careers-benefits.tsx` and installs dependencies):

```bash
npx shadcn@latest add @assembli/careers-benefits
```

Registry item JSON: https://www.assembli.design/r/careers-benefits.json (send `Authorization: Bearer <api key>`)

## Code

> Component source needs an Assembli subscription ($12/month or $96/year) and an API key sent as `Authorization: Bearer <key>`. To get one without copying anything, POST https://www.assembli.design/api/agent/login (or call the MCP tool connect_account), show the user the link it returns, and poll https://www.assembli.design/api/agent/token for the key. Or subscribe at https://www.assembli.design/pricing and create a key at https://www.assembli.design/account.
