Skip to Content

Color Field

Rothko-style abstract painting background: a luminous yellow upper field and a deeper orange lower field blurred together over a warm ground with a fixed vignette. Paint or canvas texture finish; three OKLCH anchors recolor it.

Installation

pnpm dlx shadcn@latest add @01orbital/color-field

Usage

import { ColorField } from "@/components/scene/color-field"

export default function ColorFieldDemo() {
  return <ColorField />
}

This example installs with everything it uses:

pnpm dlx shadcn@latest add @01orbital/color-field-demo

Examples

Oxblood Over Blushcolor-field-oxblood-over-blush

Color Field example: a dark oxblood field over a pale blush one on a pale green ground, in the canvas finish under a heavy paper grain.

pnpm dlx shadcn@latest add @01orbital/color-field-oxblood-over-blush

API reference

Full-bleed art layer — drop inside a relative parent; sits behind content.

Prop

Type

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

Dependencies

npm: cn. The CLI installs it for you.

Last updated on