KokonutUI Logo

BT-12ButtonsNew, October 15, 2026

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.

Install with
motion

PROPay Button and more like it are in Kokonut UI Pro

Installation

Morph Popover is a free, open-source React component in the Kokonut UI Buttons collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/morph-popover.tsx, so the code is yours to change.

npx shadcn@latest add @kokonutui/morph-popover

Usage

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

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

Dependencies

Built with React, Tailwind CSS and motion.

On this page

No Headings