A soft spectral light ribbon on pure black — slow liquid motion and rainbow fringe.
pnpm dlx shadcn@latest add @componentry/spectral-ribbon| Prop | Type | Default |
|---|---|---|
children | ReactNodeContent composed over the ribbon. | — |
speed | numberAnimation speed, 0 to 2. Zero freezes the frame. | 1 |
intensity | numberRibbon brightness, 0.25 to 2. | 1 |
thickness | numberRibbon thickness, 0.5 to 2. | 1 |
grain | numberFilm grain amount, 0 to 1. | 0.45 |
className | stringAdditional classes for the root container. | — |
Keep in mind
Need a custom component?
I build bespoke UI components & websites tailored to your brand.
import { SpectralRibbon } from "@/components/ui/spectral-ribbon"
<SpectralRibbon className="h-[560px] rounded-2xl" />