Dark Spotlight

Dark spotlight feature section with accordion interactions.

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
features
Array<{title: string, desc: string, icon?: LucideIcon}>[]Array of feature items with title, description, and optional icon.
backgroundColor
string#171717Background color (hex, rgb, or hsl).
title
stringDesigned for theSection title text.
titleHighlight
stringmodern enterpriseHighlighted title text.
activeBarColor
string#ffffffActive item bar color.
activeTextColor
string#ffffffActive item text color.
inactiveTextColor
string#525252Inactive item text color.
cardBgColor
string#262626Card background color.
iconColor
string#525252Icon color.

When to Use

Excellent for enterprise dashboards, dark-mode landing pages, and Next.js applications that want a high-contrast ‘Pro’ aesthetic. Use this React component for an accordion-based feature section with a central spotlight image and smooth text reveals.

Best Practices

Maintain consistent spacing within your design system by using it on dark or textured backgrounds. Follow React best practices by pairing it with high-contrast text. Optimize for performance by managed the spotlight image loading and resizing.

Why This Component Matters in Modern UI Development

Spotlight-driven accordions create a sense of focus and exclusivity. This production-ready component provides a refined version of this aesthetic, adding a layer of visual excitement and perceived value to your interface.

Frequently Asked Questions

QIs the spotlight image dynamic?

Yes, the central image updates based on the currently selected accordion item, with a smooth cross-fade animation.

QCan I change the active indicator?

The `activeBarColor` prop allows you to customize the vertical line that marks the selected feature to match your brand's color.

QIs it accessible?

The accordion uses semantic HTML and supports keyboard navigation for high accessibility standards.

Dark Spotlight - React Feature Section & Grid | Uilora