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