---
title: FloatingParticles
description: Drifting, twinkling motes — thousands of real simulated particles floating in a shared heading with per-particle wander and variance, and a cursor that stirs the field with a gust that settles back into the drift
category: Textures
componentType: Generator
requiresChild: false
sourceUrl: https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/shaders/FloatingParticles/index.ts
---

# FloatingParticles

Drifting, twinkling motes — thousands of real simulated particles floating in a shared heading with per-particle wander and variance, and a cursor that stirs the field with a gust that settles back into the drift

## Props

## Usage

```vue-html
<Shader>
  <FloatingParticles />
</Shader>
```

```jsx
<Shader>
  <FloatingParticles />
</Shader>
```

```svelte
<Shader>
  <FloatingParticles />
</Shader>
```

```tsx
<Shader>
  <FloatingParticles />
</Shader>
```

```javascript
import { createShader } from 'shaders/js'

const shader = await createShader(canvas, {
  components: [
    { type: 'FloatingParticles', props: {} }
  ]
})
```