Skip to content
GaudiGaudi Design System home

Search documentation

Search every page, heading and paragraph.

WebThreads

Six luminous strands fan outward from one bright central pinch, with soft glow around each thread.

AnimationsBackgrounds@gaudi/design-system/animations/WebThreadsView in StorybookSource

Installation

pnpm add github:ahmadassaf/design-system

Import from @gaudi/design-system. Load @gaudi/design-system/global.css once and add transpilePackages: ['@gaudi/design-system'] in Next.js.

import { WebThreads } from '@gaudi/design-system/animations/WebThreads';

Usage

import { WebThreads } from '@gaudi/design-system/animations/WebThreads';
<WebThreads height={360} paused={false} />

Examples

Playground

Storybook

API

10 props

Accessibility

The canvas is decorative and hidden from assistive technology. Keep important content in children and provide a pause control for continuous animation. Reduced motion renders a static frame; unsupported WebGL retains the styled container and content.

Notes

  • The playground layers a Gaudi header, hero and working documentation links above the effect. The Demo content switch hides only this foreground; canvas size, animation phase and pause state are retained.
  • Six curves meet at one compact luminous knot and fan broadly toward the edges. Pointer movement adds a local light and a subtle horizontal drift; scale changes the curve frequency.
  • Visual idea inspired by Web Threads from React Bits (MIT + Commons Clause). Independently implemented for Gaudi; no React Bits source, shaders or assets are included.