# Particle Sphere

> Thousands of fine dots forming a slowly turning 3D sphere with a ripple across its surface, drifting aside from the cursor.

Category: Backgrounds · MotionKit Plus · Updated 2026-11-14 · Live demo: https://www.motionkitui.com/components/particle-sphere

## When to use it

AI products, data and analytics platforms, research labs and keynote-style hero sections.

## How it works

Dots are placed with a Fibonacci spiral so each covers the same share of the sphere. Every frame they're rotated in 3D, tilted towards the viewer and projected with perspective, so nearer dots are larger and brighter. A ripple of latitude bands swells the surface, and dots within reach of the pointer are pushed outward on screen with easing. It's drawn on a 2D canvas and stops while off screen.

## Installation

Part of MotionKit Plus (https://www.motionkitui.com/pricing). Subscribers install it with `npx shadcn@latest add @motionkit/particle-sphere` after adding their registry token from https://www.motionkitui.com/account.

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `color` | `string` | `"#B9C7FF"` | Dot colour as a hex value. |
| `count` | `number` | `1600` | Number of dots on the sphere. |
| `speed` | `number` | `1` | Turn speed. 0 holds it still. |
| `ripple` | `number` | `0.5` | How much the surface ripples, 0 to 1. |
| `interactive` | `boolean` | `true` | Let the dots move aside from the pointer. |
| `children` | `ReactNode` |  | Your content, layered above. |

## Accessibility

- **Keyboard: Not applicable.** Decorative, nothing to focus. Your content inside stays fully interactive.
- **Screen readers: Pass.** The canvas and glow are hidden from assistive tech; only your content is read.
- **Reduced motion: Pass.** With reduced motion on, it draws one still frame. It also stops drawing while off screen.
- **Colour contrast: Pass.** The sphere sits in the middle on a dark background with dots under 90% opacity; text placed beside it or on a panel keeps full contrast.
