Skip to content

Reeded azure

Reeded glass shader background over a dark blue gradient.

Usage

Usage
import { ReededAzureBackground } from '@/components/blocks/background-06'


<ReededAzureBackground className="h-screen" />


// Optional: layer your own content on top
<ReededAzureBackground className="min-h-[560px]">
  <div />
</ReededAzureBackground>


// The aurora preset, calmer and with wider flutes
<ReededAzureBackground
  className="min-h-[560px]"
  palette="aurora"
  fluteWidth={24}
  intensity={0.85}
  speed={0.8}
/>

Install

pnpm dlx shadcn@latest add @pastaui-pro/background-06

Source

Props

Reeded azure props
PropTypeDefaultDescription
palette'blue' | 'aurora'= 'blue'Preset colour scheme. 'blue' is a sky-blue glow with mist and navy edges; 'aurora' is the original cyan glow with rose light and dark red edges.
colorsPartial<{ base: string; primary: string; glow: string; secondary: string; rim: string }>= { base: '#010207', primary: '#0A3FA6', glow: '#5AA8FF', secondary: '#9DB8E0', rim: '#0D2E78' }Hex colours that override single tones of the palette: the near-black shadow, the deep tone around the glow, the bright glow, the light on the left edge and the dark tone at the far edges.
intensitynumber= 1How bright the glows are, from 0 to 1.5.
fluteWidthnumber= 28Width of each glass flute in CSS pixels. Narrow screens get narrower flutes so at least about 30 fit across, and the minimum is 6.
speednumber= 1How fast the glow drifts through the flutes. 0 freezes it.
childrenReactNode= —Content rendered on top of the background.
classNamestring= —Additional classes for the wrapper, such as a min height or layout.
styleCSSProperties= —Inline styles for the wrapper.