Component

Brush

The painted ribbon background. Pure SVG + CSS filters. Place it inside a relatively-positioned container; it fills the container with the painted strokes behind everything else.

Showcase

The ribbon that threads the page.

Set --brush-strength on your theme to tune the opacity. Honours prefers-reduced-motion — the unroll animation only runs when motion is allowed.

Usage

tsx
import { Brush } from '@gautham/design-system/brush'
import '@gautham/design-system/brush.css'

<section style={{ position: 'relative', isolation: 'isolate' }}>
  <Brush />
  <div style={{ position: 'relative' }}>
    …your content here
  </div>
</section>