Skip to content

Woven Field

Interlaced metallic ribbons drift across a softly shaded weave.

LIVE PREVIEWInteract with the component
Just React. No extra dependencies.

Copy the component and its CSS module into your project.

CSS Modules

Usage

Matches your current playground settings.

jsx
import WovenField from "./WovenField";
export default function Example() {
return (
<WovenField
color={"#a39078"}
background={"#181612"}
scale={1}
angle={-30}
speed={40}
paused={false}
minHeight={400}
children={"Woven in light."}
style={{
"fontSize": 44,
"color": "#f1e3d1",
"letterSpacing": "-.05em"
}}
/>
);
}

Using Woven Field

Use scale to control the width of the woven ribbons and angle to set the fabric's direction.

Set minHeight for the background area and place foreground content in children. paused holds the weave in place without changing its colours.

Props

NameTypeRequiredDefaultDescription
colorstringNo"#a39078"Ribbon colour.
backgroundstringNo"#181612"Background colour.
scalenumberNo1Scale of the woven pattern, at least 0.3.
anglenumberNo-30Angle of the fabric in degrees.
speednumberNo40Animation duration in seconds.
pausedbooleanNofalsePause decorative motion.
minHeightnumber | stringNo360Minimum height of the bounded background.
childrenReactNodeNoundefinedYour foreground content.
classNamestringNo""Additional classes for the root element.
styleCSSPropertiesNoundefinedInline styles for caller-defined size, typography, and appearance.

Related components

Lava Lamp

Backgrounds

Warm liquid forms merge and drift inside a softly lit glass lamp.

Helix Field

Backgrounds

Two strands of shaded particles rotate around fine connecting rungs.

Wave Lattice

Backgrounds

A fine perspective mesh drifts over a sculpted wave surface.

Kinetic Mobile

Backgrounds

Suspended discs, rings and counterweights sway on fine connecting rods.