Silk Aurora
A premium WebGL hero background with satin-dark aurora ribbons, pearlescent highlights, subtle grain, and optional cursor depth.
Installation#
pnpm dlx shadcn@latest add @davinciui/silk-auroraUsage#
API Reference#
| Prop | Type | Default |
|---|---|---|
titlePrimary hero headline rendered above the background. | string | "Silk Aurora" |
subtitleSmall uppercase label rendered above the title. | string | "Premium Atmosphere" |
descriptionSupporting copy rendered below the title. | string | — |
baseColorDeepest background color. | string | "#050507" |
midColorSecondary base color for atmospheric depth. | string | "#14151d" |
sheenColorPearlescent highlight color. | string | "#f4dfb8" |
accentColorAurora ribbon accent color. | string | "#6ed6c9" |
speedGlobal animation speed multiplier. | number | 0.85 |
intensityStrength of aurora ribbons, glints, and sheen. | number | 1 |
grainAmount of fine shader grain. | number | 0.85 |
vignetteEdge darkening strength. | number | 1 |
mouseInfluenceCursor-driven distortion strength. | number | 1 |
interactiveEnables pointer movement response. | boolean | true |
childrenCustom content rendered above the background. | ReactNode | — |
classNameAdditional CSS classes for the root container. | string | — |
Accessibility#
The canvas is aria-hidden and pointer-events-none, while title, subtitle, description, and children render as normal DOM content. Cursor depth is decorative and has no keyboard equivalent, and WebGL failure falls back to a static gradient.
Motion#
The shader continuously evolves using speed, intensity, grain, vignette, and mouseInfluence. On mount it checks prefers-reduced-motion, then freezes shader time, sets speed and mouse influence to zero, but does not listen for later changes.
Known constraints#
- Requires WebGL; the shared error boundary renders a fallback when the shader cannot start.
- Reduced motion is honored by the animation loop rather than by a separate static component.
- The canvas is decorative and needs a sized host container.
View source
Keep in mind
Need a custom component?
I build bespoke UI components & websites tailored to your brand.

