---
title: "Gooey Popover"
description: "Free React popover that oozes out of its trigger through an SVG goo filter with a liquid neck. Click or hover, controlled or uncontrolled. shadcn install."
category: "Components"
parent: "https://beui.dev/components/motion/popover"
publishedAt: "2026-07-07"
updatedAt: "2026-11-25"
documentation: "https://beui.dev/components/motion/popover/gooey"
markdown: "https://beui.dev/components/motion/popover/gooey.md"
license: "MIT"
---

# Gooey Popover

> Free React popover that oozes out of its trigger through an SVG goo filter with a liquid neck. Click or hover, controlled or uncontrolled. shadcn install.

## Install

```bash
npx shadcn@latest add @beui/popover
```

## Dependencies

- `clsx`
- `lucide-react`
- `motion`
- `react`
- `react-dom`
- `tailwind-merge`

## Usage

### Gooey Popover usage

Composable Popover, PopoverTrigger, PopoverContent; the panel oozes out of the trigger through an SVG goo filter with a liquid neck, crisp content fading in on top. Click or hover, controlled or uncontrolled.

```tsx
"use client";

import { Button } from "@/components/motion/button";
import {
  Popover,
  PopoverContent,
  PopoverTrigger,
} from "@/components/motion/popover";

export function PopoverPreview() {
  return (
    <div className="flex flex-wrap items-center justify-center gap-4">
      <Popover side="bottom" align="start">
        <PopoverTrigger>
          <Button variant="secondary">Edit profile</Button>
        </PopoverTrigger>
        <PopoverContent className="w-72">
          <p className="text-sm font-medium text-foreground">Dimensions</p>
          <p className="mt-1 text-xs text-muted-foreground">
            Set the width and height for the layer.
          </p>
          <div className="mt-3 flex flex-col gap-2">
            <label className="flex items-center justify-between gap-3 text-sm">
              <span className="text-muted-foreground">Width</span>
              <input
                defaultValue="100%"
                className="h-8 w-32 rounded-full border border-border bg-background px-3 text-sm text-foreground outline-none focus-visible:ring-2 focus-visible:ring-foreground/20"
              />
            </label>
            <label className="flex items-center justify-between gap-3 text-sm">
              <span className="text-muted-foreground">Height</span>
              <input
                defaultValue="auto"
                className="h-8 w-32 rounded-full border border-border bg-background px-3 text-sm text-foreground outline-none focus-visible:ring-2 focus-visible:ring-foreground/20"
              />
            </label>
          </div>
        </PopoverContent>
      </Popover>

      <Popover trigger="hover" side="top">
        <PopoverTrigger>
          <Button variant="outline">Hover me</Button>
        </PopoverTrigger>
        <PopoverContent className="w-56">
          <p className="text-sm text-foreground">
            Opens on hover, with a grace window so you can move into the panel.
          </p>
        </PopoverContent>
      </Popover>
    </div>
  );
}
```

## API Reference

### Popover

| Prop | Type | Default | Required | Description |
| --- | --- | --- | --- | --- |
| `open` | `boolean` | — | No | Controlled open state. |
| `defaultOpen` | `boolean` | `false` | No | Uncontrolled initial open state. |
| `onOpenChange` | `((open: boolean) => void)` | — | No | Called with the new open state when the panel opens or closes. |
| `trigger` | `"click" \| "hover"` | `click` | No | How the popover is summoned. Default "click". |
| `side` | `"top" \| "bottom"` | `bottom` | No | Which side of the trigger the panel oozes out of. Default "bottom". |
| `align` | `"start" \| "center" \| "end"` | `center` | No | Alignment along the trigger's edge. Default "center". |
| `sideOffset` | `number` | `14` | No | Gap between trigger and panel, in px — the length of the gooey neck. Default 14. |
| `panelRadius` | `number` | `16` | No | Corner radius of the open panel, in px. Default 16. |
| `gooStrength` | `number` | `8` | No | Blur radius feeding the goo filter — higher melts more. Default 8. |
| `className` | `string` | — | No | Classes merged onto the wrapper around the trigger. |

### PopoverTrigger

| Prop | Type | Default | Required | Description |
| --- | --- | --- | --- | --- |
| `children` | `ReactElement<unknown, string \| JSXElementConstructor<any>>` | — | Yes | A single focusable element (e.g. a Button) that opens the popover. |

### PopoverContent

| Prop | Type | Default | Required | Description |
| --- | --- | --- | --- | --- |
| `className` | `string` | — | No | Classes merged onto the panel's content box. |

## More in Popover

- [Morph Popover](https://beui.dev/components/motion/popover/morph.md)

## Source

- Registry detail: https://beui.dev/r/popover
- Raw source: https://beui.dev/r/popover/raw
- GitHub: https://github.com/starc007/ui-components
