Card Spotlight Component
This interactive component features a dynamic spotlight that follows the user's cursor, highlighting elements on the card. It's built using the CardSpotlight
component in your Next.js application, leveraging React for reactive features and TailwindCSS for seamless styling.
Card Content
Usage
To use the CardSpotlight
component in your project, simply import it from where it is defined:
Source Code
Create the CardSpotlight
component in @/app/components/CardSpotlight.tsx
with the following structure: