Component packs › Backdrop › Fabric Folds

Fabric Folds

Draped satin lit pixel by pixel from a height field; the pointer gathers the cloth into radiating folds.

Fabric Folds is a background from Backdrop, a component pack with 6 animated backgrounds: Animated backgrounds made of fields, not blobs, that answer the pointer and the scroll. Price: $2 for the whole pack.

Built with: per-pixel lighting, satin sheen, pinch folds.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Fabric Folds props

PropTypeDefaultDescription
depthnumber1How deep the folds are, 0.3 to 2. Default 1.

Methods on the ref

Use it in React

import FabricFolds from './FabricFolds';

<FabricFolds />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Backdrop

Good for: Animated backgrounds.