Back to Components
Effects

Morph Card

Card that morphs its shape and silhouette on hover for dynamic emphasis.

PropsUsage ExampleVariations

Morph

Adaptive shape

The card morphs its silhouette to keep the focus on your content.

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/morph-card.tsx

Installation

Using shadcn CLI

npx shadcn add morph-card --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge

Related Effects Components