# Drifting glass shards

https://fieldbook.lizardi.mx/components/drifting-glass-shards

Category: Backgrounds
![Still of the Drifting glass shards component, a Fieldbook UI component in Backgrounds.](https://fieldbook.lizardi.mx/thumbs/drifting-glass-shards.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/drifting-glass-shards-571ba29faf.mp4 (5 s, silent)

Drifting glass shards: A slow current of translucent slivers that flash as they tumble, scattering from the cursor and gathering back when the pointer holds still.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| accent | color | #38BDF8 | No additional limit in the metadata. |
| shardCount | number | 220 | From 40 to 600; step 20 |
| shardSize | number | 1.1 | From 0.5 to 2.5; step 0.1 |
| speed | number | 1 | From 0.2 to 3; step 0.1 |
| flow | select | stream | Options: stream, vortex, ribbon |
| pointerMode | select | repel | Options: repel, attract, none |

## Usage notes

Drifting glass shards uses the wide preview frame with a dark theme setting.

### Which frameworks are available for Drifting glass shards?

Drifting glass shards 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 Drifting glass shards depend on?

The React metadata lists these npm dependencies beyond React: clsx.

### What accessibility details are visible in Drifting glass shards?

The React source for Drifting glass shards includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Drifting glass shards handle reduced motion?

Drifting glass shards 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.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "drifting-glass-shards",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Drifting particle field](https://fieldbook.lizardi.mx/components/drifting-particle-field)
- [Gradient slat spotlight](https://fieldbook.lizardi.mx/components/gradient-slat-spotlight)
- [Magnetic particle ring](https://fieldbook.lizardi.mx/components/magnetic-particle-ring)
- [Particle Field](https://fieldbook.lizardi.mx/components/mouse-reactive-particle-field)
- [Particle drift](https://fieldbook.lizardi.mx/components/particle-drift)
- [Sweep scope](https://fieldbook.lizardi.mx/components/sweep-scope)
