Backgrounds
Wire Curtain
Wire Curtain: A curtain of closely spaced vertical wires that folds like cloth in a slow draft and tears open along the path of the pointer.
Using Wire Curtain
Wire Curtain uses the full page preview frame with a dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
accentColor | color | #9BE15D | No additional limit in the metadata. |
spacing | number | 10 | From 6 to 24; step 1 |
amplitude | number | 28 | From 4 to 60; step 1 |
speed | number | 1 | From 0.2 to 3; step 0.1 |
pointerForce | number | 1 | From 0 to 2; step 0.1 |
Which frameworks are available for Wire Curtain?
Wire Curtain is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Wire Curtain depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Wire Curtain?
The React source for Wire Curtain includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Wire Curtain handle reduced motion?
Wire Curtain reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.