Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Aurora Background

Pro

Slow, blurred color fields that drift behind your content.

Installation

pnpm dlx shadcn@latest add @viewport/aurora-background

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
colors[string, string, string]

Three CSS colors for the blobs. Defaults to the theme's brand colors.

["var(--brand)", "var(--brand-2)", "var(--brand-3)"]
blurnumber

Blur radius in pixels. Lower it on low-end devices.

80
intensitynumber

Overall strength from 0 to 1.

0.55

Accessibility

  • Decorative layer is aria-hidden and ignores pointer events.
  • Animates transform only, so it never triggers layout.
  • Respects prefers-reduced-motion.