# Anchored popover card

https://fieldbook.lizardi.mx/components/anchored-popover-card

Category: Overlays
![Still of the Anchored popover card component, a Fieldbook UI component in Overlays.](https://fieldbook.lizardi.mx/thumbs/anchored-popover-card.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/anchored-popover-card-967d695195.mp4 (5 s, silent)

Anchored popover card: A trigger button that opens a small settings card anchored to itself, scaling in from the edge it grows out of and closing on a second click, Escape, or a press outside.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| anchor | select | bottom | Options: top, bottom, left, right |
| gap | number | 8 | From 0 to 24; step 2 |
| accent | color | #7C5CFF | No additional limit in the metadata. |
| triggerLabel | text | Open panel | Up to 24 characters |

## Usage notes

Anchored popover card uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Anchored popover card?

Anchored popover card is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Anchored popover card depend on?

The React metadata lists these npm dependencies beyond React: motion, radix-ui, clsx, tailwind-merge.

### What accessibility details are visible in Anchored popover card?

The React source for Anchored popover card includes: native elements (button, input, label); attributes and handlers (aria-checked, aria-hidden, aria-label, aria-pressed); explicit roles (dialog, group, switch). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Anchored popover card handle reduced motion?

Anchored popover card reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: reduced ? 0.08 : 0.16; reduced ? \{ duration: 0 \} : \{ type: "spring", stiffness: 520, damping: 32 \}; reduced ? \{ opacity: 0 \} : \{ opacity: 0, scale: 0.92 \}. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "anchored-popover-card",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [App folder expand](https://fieldbook.lizardi.mx/components/app-folder-expand)
- [Confirm action modal](https://fieldbook.lizardi.mx/components/confirm-action-modal)
- [Custom shell lightbox](https://fieldbook.lizardi.mx/components/custom-shell-lightbox)
- [Grouped backdrop popover](https://fieldbook.lizardi.mx/components/grouped-backdrop-popover)
- [Sheet drawer](https://fieldbook.lizardi.mx/components/sheet-drawer)
- [Account Menu Flyout](https://fieldbook.lizardi.mx/components/account-menu-flyout)
