Files
t8y2--dbx/docs/components/aceternity/Spotlight.tsx
T
2026-07-13 13:09:14 +08:00

12 lines
392 B
TypeScript

"use client";
import { motion } from "motion/react";
type SpotlightProps = {
className?: string;
};
export function Spotlight({ className = "" }: SpotlightProps) {
return <motion.div aria-hidden="true" className={`aceternity-spotlight ${className}`} initial={{ opacity: 0, scale: 0.96 }} animate={{ opacity: 1, scale: 1 }} transition={{ duration: 1.1, ease: [0.16, 1, 0.3, 1] }} />;
}