Spatial Spotlight Card
Move your cursor over the card surface
SpotlightBorderCard dynamically tracks cursor coordinates to render a luminous radial spotlight border glow. Perfect for dark-mode SaaS features and bento grids.
Installation
npx kinetic-ui-cli@latest add Props
Configure border glow radius, spotlight color, and hover intensity.
Usage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { SpotlightBorderCard } from "@/components/creative/spotlight-border-card";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { SpotlightBorderCard } from "@/components/creative/spotlight-border-card";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<SpotlightBorderCard
spotlightColor="example"
>
<div>Content goes here</div>
</SpotlightBorderCard>
</div>
);
}