ThatDesignUIOriginalInteractive preview
Glow bento grid
A dark bento grid lit by a glow that follows the cursor across card borders, with count-up numbers and a small visual in every card.
- Category
- Cards
- Platform
- Responsive
- Colorful
- Interactive
- Animated
Interactive componentClick through it, resize it, or switch states. It’s real UI, not a screenshot.
Use this component
Free to use. It works on its own in any React and Tailwind project, so you can add it with one command, paste the code, or hand the prompt to your coding agent.
FreeReact 18+Tailwind v3.4 or v4No extra packages
1. Add it with the shadcn CLI
npx shadcn@latest add https://www.thatdesignui.com/r/spotlight-cards.json2. Use it
Every prop is optionalapp/page.tsx
import SpotlightCards from "@/components/spotlight-cards";
export default function Page() {
return <SpotlightCards />;
}Prefer to paste it yourself? Open the .
Under the hood
How it’s built
What’s inside
- A full-width dark section (near-black, #07080d) with a soft violet glow top-left, a cyan glow bottom-right and a faint grid that fades out downward.
- An eyebrow pill, a large white-to-grey gradient heading and a muted subheading, left aligned, max width about 72rem.
- A bento grid of 3 to 6 cards: one column on phones, two from 640px, three from 1024px. The first card is wider; on desktop the spans are 2,1,1,1,1,3 for six cards so every row fills.
- Cards are dark glass (rounded 22px, 1px white/8% border). A violet-to-cyan radial wash and a bright border hairline follow the pointer across the whole grid, so neighbouring cards light up as it passes. Hidden on touch devices.
- Each card shows a two-digit index, a very large number, a title, a muted sentence and a small decorative visual (sparkline, ring, bars, avatars, shield, live dot).
- Numbers count up once, the first time they scroll into view. Reduced motion shows the final value immediately and stops the background drift.
How it behaves
- Moving the mouse over the grid lights the card under the pointer and the borders of its neighbours; leaving the grid hides the glow.
- Each number counts up once when scrolled into view and ends exactly on its configured value (for example 99.99%).
- On a phone the cards stack in one column; at tablet width there are two columns; on desktop three with the first card wider.
- With reduced motion enabled the numbers show immediately and nothing drifts.



