Soft Spotlight
Soft Spotlight: Gallery stage light from above with a gentle vignette — product reveals, keynote heroes, and museum-style layouts. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Soft Spotlight
npx motion-ui-skill add soft-spotlight-backgroundComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Soft Spotlight
Gallery stage light from above with a gentle vignette — product reveals, keynote heroes, and museum-style layouts.
Install
npx motion-ui-skill add soft-spotlight-background
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { SoftSpotlightBackground } from "@/components/background-gradient/soft-spotlight-background";
export function SoftSpotlightBackgroundDemo() {
return (
<div className="flex items-center justify-center p-6">
<SoftSpotlightBackground />
</div>
);
}
API Reference
SoftSpotlightBackground
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
className |
string |
— | No | Additional CSS classes |