Docs
Hover Card

Hover Card

Displays a beautiful Hover Card with floating.

VISIT SITE ▶
Hover over this card to see the effect

Installation

Install the following dependencies:

npm install framer-motion

Copy and paste the Event Calendar code into your project.

API Reference

Props

PropTypeDescription
classNamestringOptional custom class for the HoverCard component.
childrenReact.ReactNodeOptional content to be displayed inside the HoverCard.
buttonTextstringOptional text to display on the HoverCard.
arrowColorstringOptional custom color for the arrowColor on the HoverCard.
buttonColorstringOptional custom color for the HoverCard, supports any valid CSS color value.

Usage

export default function Demo() {
  return (
    <div className="bg-gray-100 p-8">
      <div className="mx-auto max-w-2xl space-y-8">
        {/* Default Style */}
        <HoverCard  className="aspect-square" />
      </div>
    </div>
  )
}