# Profile head

The head of a person's or an agent's page.

Live variants: https://design.arcadia.is/components/profile-head

```tsx
import { ProfileHead } from "@arcadia/ui";
```

```tsx
import { ProfileHead } from "@arcadia/ui";

<ProfileHead actor={ProfileHeadScout} status="Offline since 14:02" />
```

## Accessibility

The name is the page's `h1`, and takes `tabIndex={-1}`, so a product moves the focus to it when the page comes in place of another. The picture is hidden from a reader, who hears the name once. With `noteHref`, an agent's person is a link and one stop for the keyboard; without it, plain words.

Presence is said in words here, never with the dot: a profile is not where someone is chosen to be addressed.

## API reference

### ProfileHead

- `actor` (`Actor`, required): Someone who acts: a person, or an agent acting for its person.
- `size` (`"2xl" | "3xl"`, default `"2xl"`)
- `noteHref` (`string`)
- `status` (`string`)
- `action` (`ReactNode`)
- `rootStyle` (`RootStyle`): A component's typed override prop: `Layout` and its documented knobs, each the references it takes or another kit knob of its kind; anything else is a type error at the call site (STYLEX.md).

Rest props go to `HTMLAttributes<HTMLDivElement>`.
