222
One soft light follows your pointer across a grid of cards, washing over the one you're on and catching the rims of its neighbours across the gaps.
akaspotlight·glow cards·border glow
Run this in any project set up for the shadcn CLI. It copies the Torch Grid source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/torch-grid.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { TorchGrid } from "@/components/torch-grid";
export default function Page() {
return <TorchGrid />;
}A free React motion component in the Cursor collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Torch Grid source. Everything is optional unless it says required. It also accepts ComponentProps<"div">.
| Prop | Type | Default |
|---|---|---|
| radius | number | 260 |