# Morph Popover

A button that grows into the form it opens, with its label sliding up to become the title, then shrinks into a confirmation.

## Installation

Morph Popover is a free, open-source React component in the Kokonut UI [Buttons collection](/content/docs/buttons/index.html). Add it with the shadcn CLI, which copies the source into `components/kokonutui/morph-popover.tsx`, so the code is yours to change.

```bash
npx shadcn@latest add @kokonutui/morph-popover
```

Or add it by hand: install its packages, then copy the source from above into `components/kokonutui/morph-popover.tsx`.

```bash
npm install motion
```

## Usage

```javascript
import MorphPopover from "@/components/kokonutui/morph-popover";

export default function Example() {
  return <MorphPopover />;
}
```

## Props

- `label`: `string` Default `
