Dark Spotlight

Premium dark spotlight testimonial cards with hover effects.

Main Features of Dark Spotlight

How to Use Dark Spotlight in Next.js

Installation Guide for Dark Spotlight

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#050505Background color of the component (hex, rgb, or hsl).
badgeText
stringExcellenceText displayed in the badge.
badgeTextColor
string#D4AF37Text color of the badge (hex, rgb, or hsl).
title
stringClient Success StoriesMain title text.
titleColor
string#ffffffColor of the title text (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).
cardHoverBorderColor
stringrgba(212, 175, 55, 0.5)Border color of cards on hover (hex, rgb, or hsl).
spotlightColor
stringrgba(212, 175, 55, 0.1)Color of the spotlight effect (hex, rgb, or hsl).
spotlightSize
number600Size of the spotlight effect in pixels.
quoteIconColor
string#404040Color of the quote icon (hex, rgb, or hsl).
quoteTextColor
string#d4d4d4Color of the quote text (hex, rgb, or hsl).
avatarGrayscale
booleantrueWhether to apply grayscale filter to avatars.
avatarOpacity
number0.7Opacity of avatar images (0-1).
authorNameColor
string#ffffffColor of the author name text (hex, rgb, or hsl).
authorRoleColor
string#D4AF37Color of the author role text (hex, rgb, or hsl).
dividerColor
string#262626Color of dividers (hex, rgb, or hsl).

When to Use

Ideal for enterprise service providers, high-end consulting firms, and Next.js applications that want a luxury 'Pro' aesthetic. Use this React component for a premium dark-mode testimonial section with gold accents and a dynamic spotlight effect.

Best Practices

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

Why This Component Matters in Modern UI Development

Luxury aesthetics communicate exclusivity and trust. This production-ready component provides a refined version of social proof, adding a layer of architectural depth and perceived value to your client stories.

Frequently Asked Questions

QHow does the spotlight work?

The spotlight effect follows the user's cursor across the cards, highlighting the specific testimonial they are currently reading.

QCan I remove the grayscale filter?

Yes, the `avatarGrayscale` prop can be set to `false` if you prefer to show author photos in their original colors.

QIs the gold color required?

While designed for gold (`#D4AF37`), the `badgeTextColor` and `authorRoleColor` props allow you to use any accent color that fits your brand.

Dark Spotlight - React Testimonial Card & Grid | Uilora