Graphics

Color Wash

Background panel of two blurred color fields over a ground with overlay grain, in nine palettes such as delft, gold, vesper and gesso. Blur, field height, grain and ground lift are adjustable.

The source comes with full access.

One payment of $149 ($49 for now) opens the source right here and lets the CLI install every paid component, with lifetime updates.

Installation

pnpm dlx shadcn add @01orbital/color-wash
npx shadcn add @01orbital/color-wash
yarn shadcn add @01orbital/color-wash
bunx --bun shadcn add @01orbital/color-wash

Part of the 01orbital library. With a license, put ORBITAL_TOKEN in .env.local and the same command installs it (licensed install, pricing).

It lands at components/graphics/color-wash.tsx, as source you own and edit.

Usage

import { ColorWash } from "@/components/graphics/color-wash"

const COLORS = [
  "delft",
  "mint",
  "gold",
  "rose",
  "sky",
  "lilac",
  "vesper",
  "gesso",
] as const

export default function ColorWashDemo() {
  return (
    <div className="grid w-full place-items-center gap-5 p-6 sm:grid-cols-2 lg:grid-cols-4">
      {COLORS.map((color) => (
        <div
          key={color}
          className="relative aspect-4/3 w-full overflow-hidden rounded-lg"
        >
          <ColorWash color={color} className="absolute inset-0" />
        </div>
      ))}
    </div>
  )
}

API reference

Prop

Type

It also accepts the HTML attributes of the element it renders.

Dependencies

npm: class-variance-authority, cn. The CLI installs them for you.

No other registry pieces.