Background & Atmosphere
Particle Background
깊이감과 움직임, 인터랙션으로 배경에 생동감을 더하는 파티클 효과입니다.
Preview
ambient effect
Particle Background
canvas depth and motion
Installation
bash
Copied
bash
Copied
bash
Copied
bash
Copied
Code
typescript
Copied
Props
className
- Type
- string
- Default
- -
- Description
- Additional classes merged onto the component.
quantity
- Type
- number
- Default
- 100
- Description
- Number of particles.
staticity
- Type
- number
- Default
- 50
- Description
- How strongly particles react to pointer movement.
ease
- Type
- number
- Default
- 50
- Description
- Pointer easing amount.
size
- Type
- number
- Default
- 0.4
- Description
- Base particle size.
color
- Type
- string
- Default
- "#ffffff"
- Description
- Particle color.
colors
- Type
- readonly string[]
- Default
- -
- Description
- Optional particle color palette.