> For AI agents: the complete documentation index is available at https://wallarm.github.io/design-system/llms.txt, the full documentation bundle is available at https://wallarm.github.io/design-system/llms-full.txt.

# HoverCard

A preview of a person or an agent, opened by resting on their name: media, the name, a status badge, a subtitle, a few facts and at most one action. It opens after 600 ms and stays while the pointer is on it.

Use it in read contexts only — tables, attributes, the timeline and history. Never in a menu, a select or a filter, where hovering a name is choosing it.

The card is supplementary. Focus never moves into it, so its links and its action are out of keyboard reach: never put the only path to an action or a fact in the card. The action goes where the name goes, and every row link also exists at that destination. A card with an action of its own needs a `Popover`.

One action at most, as `HoverCardAction`. The product leaves out a row that does not apply (Approvals for agents that never ask) and the action when the viewer lacks the permission. A row that applies but is empty passes `isEmpty` and shows the em dash; never write "None".

Fetch inside the content: it mounts only when the card opens, so a data component in `HoverCardContent` fetches on open with no `open` wiring. While it loads, keep the known name and the row labels, and skeleton only the values.

On an element that already has a `Tooltip`, nest `HoverCardTrigger` and `TooltipTrigger asChild` on it and pass the same `ids.trigger` to `HoverCard` and `Tooltip`. Tooltips outside the content close while the card is up, so neither needs `open` wiring.

`data-analytics-id` goes on the trigger's child — the name's span, link or button — on `HoverCardAction`, and on each row `Link`. The card adds no seam of its own.

The DS has no status mapping; pass a `Badge variant='dotted' type='secondary'`. People: Active green, Invited blue, Invite expired w-orange, Deactivated gray. Agents: On duty green, Working blue, Needs you amber, Failed red, Deactivated and Not set up gray, Inviting blue.

[Source](https://github.com/wallarm/design-system/tree/main/packages/design-system/src/components/HoverCard) · [Storybook](https://wallarm.github.io/design-system/storybook/?path=/docs/overlay-hovercard--overview)

```tsx
import { AgentAvatar } from '@wallarm-org/design-system/AgentAvatar';
import { Attribute, AttributeLabel, AttributeValue } from '@wallarm-org/design-system/Attribute';
import { AgentItem, AvatarContent, AvatarName } from '@wallarm-org/design-system/Avatar';
import { Badge } from '@wallarm-org/design-system/Badge';
import { HoverCard, HoverCardAction, HoverCardContent, HoverCardDescription, HoverCardHeader, HoverCardTitle, HoverCardTrigger } from '@wallarm-org/design-system/HoverCard';
import { Zap } from '@wallarm-org/design-system/icons';
import { Link } from '@wallarm-org/design-system/Link';
import { Separator } from '@wallarm-org/design-system/Separator';
import { HStack } from '@wallarm-org/design-system/Stack';
import { Tag } from '@wallarm-org/design-system/Tag';

export const Agent = () => {
  return (
    <HoverCard data-testid='agent-card'>
      <AgentItem agent='radar' size={24}>
        <AvatarContent>
          <AvatarName>
            <HoverCardTrigger data-testid='agent-card--trigger'>
              <span tabIndex={0}>Radar</span>
            </HoverCardTrigger>
          </AvatarName>
        </AvatarContent>
      </AgentItem>
      <HoverCardContent>
        <HoverCardHeader>
          <AgentAvatar agent='radar' size={56} state='working' live seed='radar' />
          <HoverCardTitle variant='agent'>Radar</HoverCardTitle>
          <Badge variant='dotted' type='secondary' color='blue'>
            Working
          </Badge>
          <HoverCardDescription>Anomaly Investigation Agent</HoverCardDescription>
        </HoverCardHeader>
        <Separator spacing={6} />
        <Attribute orientation='horizontal' data-testid='agent-card--runs'>
          <AttributeLabel>Runs</AttributeLabel>
          <AttributeValue>
            <HStack gap={4} wrap='wrap' className='min-w-0'>
              <Tag>
                <Zap />
                On attack spikes
              </Tag>
            </HStack>
          </AttributeValue>
        </Attribute>
        <Attribute orientation='horizontal' data-testid='agent-card--latest-run'>
          <AttributeLabel>Latest run</AttributeLabel>
          <AttributeValue>
            <Link href='#' size='md'>
              Run at 00:00
            </Link>
          </AttributeValue>
        </Attribute>
        <Attribute orientation='horizontal' data-testid='agent-card--approvals'>
          <AttributeLabel>Approvals</AttributeLabel>
          <AttributeValue>
            <Link href='#' size='md'>
              5 pending
            </Link>
          </AttributeValue>
        </Attribute>
        <HoverCardAction asChild>
          <a href='/agents/radar'>View agent</a>
        </HoverCardAction>
      </HoverCardContent>
    </HoverCard>
  );
};
```

## Usage

```tsx
import { AgentAvatar } from '@wallarm-org/design-system/AgentAvatar';
import { Attribute, AttributeLabel, AttributeValue } from '@wallarm-org/design-system/Attribute';
import { AgentItem, AvatarContent, AvatarName } from '@wallarm-org/design-system/Avatar';
import { Badge } from '@wallarm-org/design-system/Badge';
import { HoverCard, HoverCardAction, HoverCardContent, HoverCardDescription, HoverCardHeader, HoverCardTitle, HoverCardTrigger } from '@wallarm-org/design-system/HoverCard';
import { Zap } from '@wallarm-org/design-system/icons';
import { Link } from '@wallarm-org/design-system/Link';
import { Separator } from '@wallarm-org/design-system/Separator';
import { HStack } from '@wallarm-org/design-system/Stack';
import { Tag } from '@wallarm-org/design-system/Tag';
```

## Examples

### User

A person: the 56 px plate and the name in Geist, their email, roles and when they were last
active — the exact time is in the tooltip.

```tsx
import { Attribute, AttributeLabel, AttributeValue } from '@wallarm-org/design-system/Attribute';
import { Avatar, AvatarContent, AvatarFallback, AvatarName } from '@wallarm-org/design-system/Avatar';
import { Badge } from '@wallarm-org/design-system/Badge';
import { FormatDateTime } from '@wallarm-org/design-system/FormatDateTime';
import { HoverCard, HoverCardAction, HoverCardContent, HoverCardDescription, HoverCardHeader, HoverCardTitle, HoverCardTrigger } from '@wallarm-org/design-system/HoverCard';
import { Separator } from '@wallarm-org/design-system/Separator';
import { HStack } from '@wallarm-org/design-system/Stack';
import { Tag } from '@wallarm-org/design-system/Tag';

export const User = () => {
  const handleOpenUser = fn();

  return (
    <HoverCard data-testid='user-card'>
      <Avatar size='md'>
        <AvatarFallback name='Artem Miskevich' />
        <AvatarContent>
          <AvatarName>
            <HoverCardTrigger data-testid='user-card--trigger'>
              <span tabIndex={0}>Artem Miskevich</span>
            </HoverCardTrigger>
          </AvatarName>
        </AvatarContent>
      </Avatar>
      <HoverCardContent>
        <HoverCardHeader>
          <Avatar size='xl'>
            <AvatarFallback name='Artem Miskevich' />
          </Avatar>
          <HoverCardTitle>Artem Miskevich</HoverCardTitle>
          <Badge variant='dotted' type='secondary' color='green'>
            Active
          </Badge>
          <HoverCardDescription>amiskevich@wallarm.com</HoverCardDescription>
        </HoverCardHeader>
        <Separator spacing={6} />
        <Attribute orientation='horizontal' data-testid='user-card--roles'>
          <AttributeLabel>Roles</AttributeLabel>
          <AttributeValue>
            <HStack gap={4} wrap='wrap' className='min-w-0'>
              <Tag>Admin</Tag>
              <Tag>temp-role</Tag>
            </HStack>
          </AttributeValue>
        </Attribute>
        <Attribute orientation='horizontal' data-testid='user-card--last-active'>
          <AttributeLabel>Last active</AttributeLabel>
          <AttributeValue>
            <FormatDateTime value={WEEK_AGO} format='relative' />
          </AttributeValue>
        </Attribute>
        <HoverCardAction onClick={handleOpenUser}>View user</HoverCardAction>
      </HoverCardContent>
    </HoverCard>
  );
};
```

### Without action

What the product leaves out. Lens never asks for approval, so it has no Approvals row, and a
viewer without access to agents gets no action. Rest on the name to open it.

```tsx
import { AgentAvatar } from '@wallarm-org/design-system/AgentAvatar';
import { Attribute, AttributeLabel, AttributeValue } from '@wallarm-org/design-system/Attribute';
import { AgentItem, AvatarContent, AvatarName } from '@wallarm-org/design-system/Avatar';
import { Badge } from '@wallarm-org/design-system/Badge';
import { HoverCard, HoverCardContent, HoverCardDescription, HoverCardHeader, HoverCardTitle, HoverCardTrigger } from '@wallarm-org/design-system/HoverCard';
import { Separator } from '@wallarm-org/design-system/Separator';
import { HStack } from '@wallarm-org/design-system/Stack';
import { Tag } from '@wallarm-org/design-system/Tag';

export const WithoutAction = () => (
  <HoverCard data-testid='lens-card'>
    <AgentItem agent='lens' size={24}>
      <AvatarContent>
        <AvatarName>
          <HoverCardTrigger data-testid='lens-card--trigger'>
            <span tabIndex={0}>Lens</span>
          </HoverCardTrigger>
        </AvatarName>
      </AvatarContent>
    </AgentItem>
    <HoverCardContent>
      <HoverCardHeader>
        <AgentAvatar agent='lens' size={56} state='idle' live seed='lens' />
        <HoverCardTitle variant='agent'>Lens</HoverCardTitle>
        <Badge variant='dotted' type='secondary' color='green'>
          On duty
        </Badge>
        <HoverCardDescription>API Inventory Reviewer</HoverCardDescription>
      </HoverCardHeader>
      <Separator spacing={6} />
      <Attribute orientation='horizontal' data-testid='lens-card--runs'>
        <AttributeLabel>Runs</AttributeLabel>
        <AttributeValue>
          <HStack gap={4} wrap='wrap' className='min-w-0'>
            <Tag>Every day at 09:00</Tag>
          </HStack>
        </AttributeValue>
      </Attribute>
      <Attribute orientation='horizontal' isEmpty data-testid='lens-card--latest-run'>
        <AttributeLabel>Latest run</AttributeLabel>
        <AttributeValue />
      </Attribute>
    </HoverCardContent>
  </HoverCard>
);
```

### Loading

While the product fetches: the known name and the real row labels stay, and only the values
are skeletons, so the card keeps its shape. No action until the permission is known.

```tsx
import { Attribute, AttributeLabel, AttributeValue } from '@wallarm-org/design-system/Attribute';
import { Avatar, AvatarContent, AvatarFallback, AvatarName } from '@wallarm-org/design-system/Avatar';
import { HoverCard, HoverCardContent, HoverCardDescription, HoverCardHeader, HoverCardTitle, HoverCardTrigger } from '@wallarm-org/design-system/HoverCard';
import { Separator } from '@wallarm-org/design-system/Separator';
import { Skeleton } from '@wallarm-org/design-system/Skeleton';

export const Loading = () => {
  return (
    <HoverCard data-testid='loading-card'>
      <Avatar size='md'>
        <AvatarFallback name='Artem Miskevich' />
        <AvatarContent>
          <AvatarName>
            <HoverCardTrigger data-testid='loading-card--trigger'>
              <span tabIndex={0}>Artem Miskevich</span>
            </HoverCardTrigger>
          </AvatarName>
        </AvatarContent>
      </Avatar>
      <HoverCardContent>
        <HoverCardHeader>
          <Skeleton width='56px' height='56px' rounded={16} />
          <HoverCardTitle>Artem Miskevich</HoverCardTitle>
          <HoverCardDescription>
            <Skeleton width='160px' height='16px' />
          </HoverCardDescription>
        </HoverCardHeader>
        <Separator spacing={6} />
        <Attribute orientation='horizontal'>
          <AttributeLabel>Roles</AttributeLabel>
          <AttributeValue>
            <Skeleton width='100%' height='16px' />
          </AttributeValue>
        </Attribute>
        <Attribute orientation='horizontal'>
          <AttributeLabel>Last active</AttributeLabel>
          <AttributeValue>
            <Skeleton width='100%' height='16px' />
          </AttributeValue>
        </Attribute>
      </HoverCardContent>
    </HoverCard>
  );
};
```

### Unavailable

A deleted person or a failed fetch: the header alone, with the known name and the product's
reason. No separator, rows or action.

```tsx
import { Avatar, AvatarContent, AvatarFallback, AvatarName } from '@wallarm-org/design-system/Avatar';
import { HoverCard, HoverCardContent, HoverCardDescription, HoverCardHeader, HoverCardTitle, HoverCardTrigger } from '@wallarm-org/design-system/HoverCard';

export const Unavailable = () => {
  return (
    <HoverCard data-testid='unavailable-card'>
      <Avatar size='md'>
        <AvatarFallback />
        <AvatarContent>
          <AvatarName>
            <HoverCardTrigger data-testid='unavailable-card--trigger'>
              <span tabIndex={0}>Former Employee</span>
            </HoverCardTrigger>
          </AvatarName>
        </AvatarContent>
      </Avatar>
      <HoverCardContent>
        <HoverCardHeader>
          <Avatar size='xl'>
            <AvatarFallback />
          </Avatar>
          <HoverCardTitle>Former Employee</HoverCardTitle>
          <HoverCardDescription>No longer available</HoverCardDescription>
        </HoverCardHeader>
      </HoverCardContent>
    </HoverCard>
  );
};
```

### Long values

The card never grows past 320 px. The name and the email end with "…" and show in full in a
tooltip, tags wrap, and a plain string value takes the `OverflowTooltip` recipe.

```tsx
import { Attribute, AttributeLabel, AttributeValue } from '@wallarm-org/design-system/Attribute';
import { Avatar, AvatarContent, AvatarFallback, AvatarName } from '@wallarm-org/design-system/Avatar';
import { Badge } from '@wallarm-org/design-system/Badge';
import { FormatDateTime } from '@wallarm-org/design-system/FormatDateTime';
import { HoverCard, HoverCardAction, HoverCardContent, HoverCardDescription, HoverCardHeader, HoverCardTitle, HoverCardTrigger } from '@wallarm-org/design-system/HoverCard';
import { OverflowTooltip, OverflowTooltipContent, OverflowTooltipTrigger } from '@wallarm-org/design-system/OverflowTooltip';
import { Separator } from '@wallarm-org/design-system/Separator';
import { HStack } from '@wallarm-org/design-system/Stack';
import { Tag } from '@wallarm-org/design-system/Tag';

export const LongValues = () => {
  return (
    <HoverCard data-testid='long-card'>
      <Avatar size='md'>
        <AvatarFallback name='Konstantin Aleksandrovich Konstantinopolsky' />
        <AvatarContent>
          <AvatarName>
            <HoverCardTrigger data-testid='long-card--trigger'>
              <span tabIndex={0}>Konstantin Aleksandrovich Konstantinopolsky</span>
            </HoverCardTrigger>
          </AvatarName>
        </AvatarContent>
      </Avatar>
      <HoverCardContent>
        <HoverCardHeader>
          <Avatar size='xl'>
            <AvatarFallback name='Konstantin Aleksandrovich Konstantinopolsky' />
          </Avatar>
          <HoverCardTitle>Konstantin Aleksandrovich Konstantinopolsky</HoverCardTitle>
          <Badge variant='dotted' type='secondary' color='w-orange'>
            Invite expired
          </Badge>
          <HoverCardDescription>
            konstantin.aleksandrovich.konstantinopolsky@security-operations.example.com
          </HoverCardDescription>
        </HoverCardHeader>
        <Separator spacing={6} />
        <Attribute orientation='horizontal' data-testid='long-card--roles'>
          <AttributeLabel>Roles</AttributeLabel>
          <AttributeValue>
            <HStack gap={4} wrap='wrap' className='min-w-0'>
              {LONG_ROLES.map(role => (
                <Tag key={role}>{role}</Tag>
              ))}
            </HStack>
          </AttributeValue>
        </Attribute>
        <Attribute orientation='horizontal' data-testid='long-card--team'>
          <AttributeLabel>Team</AttributeLabel>
          <AttributeValue>
            <OverflowTooltip>
              <OverflowTooltipTrigger>
                <span className='truncate'>Security Operations Center, EMEA night shift</span>
              </OverflowTooltipTrigger>
              <OverflowTooltipContent>
                Security Operations Center, EMEA night shift
              </OverflowTooltipContent>
            </OverflowTooltip>
          </AttributeValue>
        </Attribute>
        <Attribute orientation='horizontal' data-testid='long-card--last-active'>
          <AttributeLabel>Last active</AttributeLabel>
          <AttributeValue>
            <FormatDateTime value={WEEK_AGO} format='relative' />
          </AttributeValue>
        </Attribute>
        <HoverCardAction>View user</HoverCardAction>
      </HoverCardContent>
    </HoverCard>
  );
};
```

### In table

A name cell, as in the users table. The cell forces its direct child to block, so the card sits
in a `<span>`, and only `HoverCardTrigger` goes inside `AvatarName` — `AvatarName` renders its
children again in its own tooltip. The name is plain text, as everywhere: the card's action
opens the user. The last name is truncated: its tooltip repeats the trigger, so that copy shares
the trigger's id and test id — a known limitation until `AvatarName` can show plain text in its
tooltip.

```tsx
import { Attribute, AttributeLabel, AttributeValue } from '@wallarm-org/design-system/Attribute';
import { Avatar, AvatarContent, AvatarFallback, AvatarName } from '@wallarm-org/design-system/Avatar';
import { Badge } from '@wallarm-org/design-system/Badge';
import { FormatDateTime } from '@wallarm-org/design-system/FormatDateTime';
import { HoverCard, HoverCardAction, HoverCardContent, HoverCardDescription, HoverCardHeader, HoverCardTitle, HoverCardTrigger } from '@wallarm-org/design-system/HoverCard';
import { Separator } from '@wallarm-org/design-system/Separator';
import { HStack } from '@wallarm-org/design-system/Stack';
import { Table, type TableColumnDef } from '@wallarm-org/design-system/Table';
import { Tag } from '@wallarm-org/design-system/Tag';

export const InTable = () => {
  const handleOpenUser = fn();

  const getRowId = (user: UserRow) => user.id;

  const columns: TableColumnDef<UserRow>[] = [
    {
      accessorKey: 'name',
      header: 'Name',
      size: 240,
      cell: ({ row }) => (
        <span>
          <HoverCard data-testid={`user-card-${row.id}`}>
            <Avatar size='sm' data-testid={`user-row-${row.id}`}>
              <AvatarFallback name={row.original.name} />
              <AvatarContent>
                <AvatarName>
                  <HoverCardTrigger data-testid={`user-card-${row.id}--trigger`}>
                    <span tabIndex={0}>{row.original.name}</span>
                  </HoverCardTrigger>
                </AvatarName>
              </AvatarContent>
            </Avatar>
            <HoverCardContent>
              <HoverCardHeader>
                <Avatar size='xl'>
                  <AvatarFallback name={row.original.name} />
                </Avatar>
                <HoverCardTitle>{row.original.name}</HoverCardTitle>
                <Badge variant='dotted' type='secondary' color='green'>
                  Active
                </Badge>
                <HoverCardDescription>{row.original.email}</HoverCardDescription>
              </HoverCardHeader>
              <Separator spacing={6} />
              <Attribute orientation='horizontal' data-testid={`user-card-${row.id}--roles`}>
                <AttributeLabel>Roles</AttributeLabel>
                <AttributeValue>
                  <HStack gap={4} wrap='wrap' className='min-w-0'>
                    <Tag>{row.original.role}</Tag>
                  </HStack>
                </AttributeValue>
              </Attribute>
              <Attribute orientation='horizontal' data-testid={`user-card-${row.id}--last-active`}>
                <AttributeLabel>Last active</AttributeLabel>
                <AttributeValue>
                  <FormatDateTime value={WEEK_AGO} format='relative' />
                </AttributeValue>
              </Attribute>
              <HoverCardAction onClick={handleOpenUser}>View user</HoverCardAction>
            </HoverCardContent>
          </HoverCard>
        </span>
      ),
    },
    { accessorKey: 'email', header: 'Email', size: 240 },
    { accessorKey: 'role', header: 'Role', size: 160 },
  ];

  return (
    <Table
      aria-label='Users'
      data={USERS}
      columns={columns}
      getRowId={getRowId}
      data-testid='users-table'
    />
  );
};
```

### With tooltip

A trigger that already has a tooltip. Nest the two asChild triggers on the one element and give
both roots the same `ids.trigger`, so each machine finds it. The tooltip shows first; when the
card opens the tooltip closes at once and stays off while the card is up, with no `open`
wiring.

```tsx
import { useId } from 'react';
import { Avatar, AvatarFallback } from '@wallarm-org/design-system/Avatar';
import { Badge } from '@wallarm-org/design-system/Badge';
import { HoverCard, HoverCardAction, HoverCardContent, HoverCardDescription, HoverCardHeader, HoverCardTitle, HoverCardTrigger } from '@wallarm-org/design-system/HoverCard';
import { Tooltip, TooltipContent, TooltipTrigger } from '@wallarm-org/design-system/Tooltip';

export const WithTooltip = () => {
  const triggerId = useId();
  const handleOpenUser = fn();

  return (
    <HoverCard data-testid='tooltip-card' ids={{ trigger: triggerId }}>
      <Tooltip data-testid='tooltip-card-tooltip' ids={{ trigger: triggerId }}>
        <HoverCardTrigger data-testid='tooltip-card--trigger'>
          <TooltipTrigger asChild>
            <span tabIndex={0}>Artem Miskevich</span>
          </TooltipTrigger>
        </HoverCardTrigger>
        <TooltipContent>Signed in 5 minutes ago</TooltipContent>
      </Tooltip>
      <HoverCardContent>
        <HoverCardHeader>
          <Avatar size='xl'>
            <AvatarFallback name='Artem Miskevich' />
          </Avatar>
          <HoverCardTitle>Artem Miskevich</HoverCardTitle>
          <Badge variant='dotted' type='secondary' color='green'>
            Active
          </Badge>
          <HoverCardDescription>amiskevich@wallarm.com</HoverCardDescription>
        </HoverCardHeader>
        <HoverCardAction onClick={handleOpenUser}>View user</HoverCardAction>
      </HoverCardContent>
    </HoverCard>
  );
};
```

### Analytics

Analytics attributes go on the elements themselves: the trigger's child, each row `Link` and
`HoverCardAction`. The card adds no seam of its own, so each `data-analytics-id` lands on the
real element: the name's `<span>`, the row `<a>` and the action's `<a>`.

```tsx
import { AgentAvatar } from '@wallarm-org/design-system/AgentAvatar';
import { Attribute, AttributeLabel, AttributeValue } from '@wallarm-org/design-system/Attribute';
import { AgentItem, AvatarContent, AvatarName } from '@wallarm-org/design-system/Avatar';
import { Badge } from '@wallarm-org/design-system/Badge';
import { HoverCard, HoverCardAction, HoverCardContent, HoverCardDescription, HoverCardHeader, HoverCardTitle, HoverCardTrigger } from '@wallarm-org/design-system/HoverCard';
import { Link } from '@wallarm-org/design-system/Link';
import { Separator } from '@wallarm-org/design-system/Separator';

export const Analytics = () => (
  <HoverCard data-testid='analytics-card'>
    <AgentItem agent='radar' size={24}>
      <AvatarContent>
        <AvatarName>
          <HoverCardTrigger data-testid='analytics-card--trigger'>
            <span tabIndex={0} data-analytics-id='history.agent'>
              Radar
            </span>
          </HoverCardTrigger>
        </AvatarName>
      </AvatarContent>
    </AgentItem>
    <HoverCardContent>
      <HoverCardHeader>
        <AgentAvatar agent='radar' size={56} state='working' live seed='radar' />
        <HoverCardTitle variant='agent'>Radar</HoverCardTitle>
        <Badge variant='dotted' type='secondary' color='blue'>
          Working
        </Badge>
        <HoverCardDescription>Anomaly Investigation Agent</HoverCardDescription>
      </HoverCardHeader>
      <Separator spacing={6} />
      <Attribute orientation='horizontal' data-testid='analytics-card--latest-run'>
        <AttributeLabel>Latest run</AttributeLabel>
        <AttributeValue>
          <Link href='#' size='md' data-analytics-id='agent-card.latest-run'>
            Run at 00:00
          </Link>
        </AttributeValue>
      </Attribute>
      <HoverCardAction asChild data-analytics-id='agent-card.view'>
        <a href='/agents/radar'>View agent</a>
      </HoverCardAction>
    </HoverCardContent>
  </HoverCard>
);
```

## Props

| Prop         | Type                                     | Default | Description                                                                                                                                                                                                                                                              |
| ------------ | ---------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| open         | `boolean \| undefined`                   |         | Controlled. Pass `open` only together with `onOpenChange` feeding it back, or the card never moves (zag controlled mode).                                                                                                                                                |
| onOpenChange | `((open: boolean) => void) \| undefined` |         | Ark's details are unwrapped to a boolean, as in Popover.                                                                                                                                                                                                                 |
| ids          | `ElementIds \| undefined`                |         | Override the trigger element's id. Pass the same id to a `Tooltip`'s `ids.trigger` to compose both triggers on one element via nested `asChild` without an extra wrapper node — otherwise the outer trigger's id wins and the other component can't find its own anchor. |
| data-testid  | `string \| undefined`                    |         |                                                                                                                                                                                                                                                                          |

### HoverCardAction

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| title          | `string \| undefined`                                |         |             |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| id             | `string \| undefined`                                |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| type           | `"button" \| "submit" \| "reset" \| undefined`       |         |             |
| disabled       | `boolean \| undefined`                               |         |             |
| name           | `string \| undefined`                                |         |             |
| value          | `string \| number \| readonly string[] \| undefined` |         |             |
| asChild        | `boolean \| undefined`                               |         |             |
| data-testid    | `string \| undefined`                                |         |             |
| loading        | `{ true: string; }`                                  |         |             |
| as             | `C \| undefined`                                     |         |             |

### HoverCardContent

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| title          | `string \| undefined`                                |         |             |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| data-testid    | `string \| undefined`                                |         |             |

### HoverCardDescription

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| id             | `string \| undefined`                                |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| title          | `string \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| data-testid    | `string \| undefined`                                |         |             |

### HoverCardHeader

| Prop           | Type                                                 | Default | Description |
| -------------- | ---------------------------------------------------- | ------- | ----------- |
| defaultChecked | `boolean \| undefined`                               |         |             |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |             |
| autoFocus      | `boolean \| undefined`                               |         |             |
| id             | `string \| undefined`                                |         |             |
| tabIndex       | `number \| undefined`                                |         |             |
| title          | `string \| undefined`                                |         |             |
| rel            | `string \| undefined`                                |         |             |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |             |
| data-testid    | `string \| undefined`                                |         |             |

### HoverCardTitle

| Prop           | Type                                                 | Default  | Description                                             |
| -------------- | ---------------------------------------------------- | -------- | ------------------------------------------------------- |
| variant        | `"person" \| "agent" \| undefined`                   | `person` | `agent` sets the name in Geist Pixel. Default `person`. |
| defaultChecked | `boolean \| undefined`                               |          |                                                         |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |          |                                                         |
| autoFocus      | `boolean \| undefined`                               |          |                                                         |
| id             | `string \| undefined`                                |          |                                                         |
| tabIndex       | `number \| undefined`                                |          |                                                         |
| title          | `string \| undefined`                                |          |                                                         |
| rel            | `string \| undefined`                                |          |                                                         |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |          |                                                         |
| data-testid    | `string \| undefined`                                |          |                                                         |

### HoverCardTrigger

| Prop           | Type                                                 | Default | Description                                     |
| -------------- | ---------------------------------------------------- | ------- | ----------------------------------------------- |
| title          | `string \| undefined`                                |         |                                                 |
| defaultChecked | `boolean \| undefined`                               |         |                                                 |
| defaultValue   | `string \| number \| readonly string[] \| undefined` |         |                                                 |
| autoFocus      | `boolean \| undefined`                               |         |                                                 |
| id             | `string \| undefined`                                |         |                                                 |
| tabIndex       | `number \| undefined`                                |         |                                                 |
| rel            | `string \| undefined`                                |         |                                                 |
| onChange       | `ChangeEventHandler<T, Element> \| undefined`        |         |                                                 |
| type           | `"button" \| "submit" \| "reset" \| undefined`       |         |                                                 |
| disabled       | `boolean \| undefined`                               |         |                                                 |
| name           | `string \| undefined`                                |         |                                                 |
| value          | `string \| undefined`                                |         | The value that identifies this specific trigger |
| data-testid    | `string \| undefined`                                |         |                                                 |

## Explorer

