Skip to content
caliper ui pro docs

Goo popover

A popover that pours out of its trigger. The trigger and the panel are two ink shapes under a goo filter, so as the panel grows away a liquid neck joins them and then lets go. The words are drawn crisp on top and fade in once the shape lands.

Pro

14 pages · last edited by Mara Chen 4 minutes ago

When to use

  • One primary action that opens a short set of choices: New, Share, Add to.
  • A product moment where the menu itself is part of the character, used once per screen.

When not to use

  • Long or searchable lists; use the dropdown menu or the command palette.
  • Several on one screen; the effect is loud when repeated.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/goo-popover

Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

GooPopover

8 props
PropTypeDefaultDescription
label *ReactNode—The trigger's text.
title *string—Names the panel for assistive technology.
children *ReactNode | ((close: () => void) => ReactNode)—The panel. A render function receives `close`, for items that should close it.
openboolean—
defaultOpenbooleanfalse
onOpenChange((open: boolean) => void)—
align"start" | "end""start"
classNamestring—

Keyboard

Escape
Closes or cancels, then returns focus to where it came from.

Accessibility

It exposes dialog semantics, with aria-hidden, aria-expanded, aria-controls and aria-label kept in step with state.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/goo-popover.md

The index of every part is at /llms.txt.

More in Morphing controls