Glow Card

Card with animated glow border that follows cursor position.

cardsglowhovercursor

Installation

Terminalbash
npx motioncraft add glow-card

Usage

glow-card.tsxtsx
import { GlowCard } from "@/components/cards/glow-card";

<GlowCard>
  <h3>Glowing Card</h3>
  <p>Hover to see the glow effect</p>
</GlowCard>

Props

PropTypeDefaultDescription
children*ReactNodeCard content
classNamestringAdditional CSS classes

Related Components