Skip to content
GaudiGaudi Design System home

Search documentation

Search every page, heading and paragraph.

AeroShards

Faceted shards flow through a curved stream in layers of depth.

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

Hold the pointer to gather the stream, then release to unfurl it.

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 { AeroShards } from '@gaudi/design-system/animations/AeroShards';

Usage

import { AeroShards } from '@gaudi/design-system/animations/AeroShards';
<AeroShards height={500} paused={paused} />

Examples

Playground

Storybook

API

10 props

Accessibility

The canvas is decorative and hidden from assistive technology. Foreground children remain readable and interactive. Provide a pause control for continuous motion, and place text on a contrasting surface. Reduced motion displays a still frame; unavailable WebGL uses a static color fallback.

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.
  • Shard size varies with depth. Hold/release changes the stream envelope without resetting its retained phase.
  • Visual idea inspired by AeroShards from React Bits. Independently implemented for Gaudi from the rendered visual reference; no React Bits source code, shaders or assets are included.