Spotlight Card
Cursor-following spotlight.
Import
tsx
import { SpotlightCard } from "@cooud-ui/ui";
bash
npx cooud-ui add spotlight-card
Cursor-following spotlight.
import { SpotlightCard } from "@cooud-ui/ui";
npx cooud-ui add spotlight-card
On this page
A radial spotlight tracks your cursor across the card — hover anywhere over it to bring the surface to life.
Radix primitives and focus-visible rings ship on by default.
<SpotlightCard className="flex flex-col gap-3 p-5"><span className="grid size-9 place-items-center rounded-lg bg-surface-overlay text-primary"><Gauge className="size-4" aria-hidden="true" /></span><h3 className="font-display text-base font-semibold text-fg">Accessible core</h3><p className="text-sm text-fg-secondary">Radix primitives and focus-visible rings ship on by default.</p></SpotlightCard>