Spotlight Grid

Spotlight grid testimonial section with dynamic lighting.

Main Features of Spotlight Grid

How to Use Spotlight Grid in Next.js

Installation Guide for Spotlight Grid

Props

Customize the component with these props

PropertyTypeDefaultDescription
testimonials
TestimonialItem[][]Array of testimonial items with id, name, role, company, content/text, media, avatar/image.
backgroundColor
string#0a0a0aBackground color of the component (hex, rgb, or hsl).
badgeBgColor
string#171717Background color of the badge (hex, rgb, or hsl).
badgeBorderColor
string#262626Border color of the badge (hex, rgb, or hsl).
badgeTextColor
string#a3a3a3Text color of the badge (hex, rgb, or hsl).
badgeIconColor
string#eab308Icon color of the badge (hex, rgb, or hsl).
badgeText
stringWall of LoveBadge text content.
title
stringTrusted by the best.Main title text.
titleGradientFrom
string#ffffffStart color of the title gradient (hex, rgb, or hsl).
titleGradientTo
string#737373End color of the title gradient (hex, rgb, or hsl).
cardBgColor
stringrgba(23, 23, 23, 0.5)Background color of the testimonial cards (hex, rgb, or hsl).
cardBorderColor
string#262626Border color of the testimonial cards (hex, rgb, or hsl).
spotlightColor
stringrgba(255,255,255,0.06)Color of the spotlight effect (hex, rgb, or hsl).
spotlightSize
number600Size of the spotlight effect in pixels.
avatarGrayscale
booleantrueWhether to apply grayscale filter to avatars.
avatarOpacity
number0.7Opacity of avatar images (0-1).
iconColor
string#404040Color of icons (hex, rgb, or hsl).
quoteColor
string#d4d4d4Color of the quote text (hex, rgb, or hsl).
authorNameColor
string#e5e5e5Color of the author name text (hex, rgb, or hsl).
authorCompanyColor
string#737373Color of the author company text (hex, rgb, or hsl).
dividerColor
string#404040Color of dividers (hex, rgb, or hsl).
dividerDotColor
string#404040Color of divider dots (hex, rgb, or hsl).

When to Use

Perfect for high-end SaaS, dark-mode dashboards, and Next.js applications that want a high-fidelity 'Wall of Love'. Use this React component for a spotlight grid where each card illuminates as the mouse moves over it.

Best Practices

Maintain consistent spacing within your design system by using it on pure black or deep gray backgrounds. Follow React best practices by using light, airy typography. Optimize for performance by using hardware-accelerated transforms for the spotlight overlay.

Why This Component Matters in Modern UI Development

Dynamic lighting creates a sense of discovery and premium quality. This production-ready UI component helpsคุณ build an interface that feels alive and responsive, improving user engagement with your customer stories.

Frequently Asked Questions

QHow does the spotlight work?

The spotlight effect follows the user's cursor across the entire grid, subtly highlighting the specific card and borders near the mouse.

QCan I change the spotlight color?

Yes, the `spotlightColor` prop allows you to change the glow from white to brand-specific colors like purple or gold.

QIs it mobile responsive?

On mobile, the mouse-tracking spotlight is typically disabled in favor of static hover states to ensure consistent performance.

Spotlight Grid - React Testimonial Card & Grid | Uilora