Galaxy
A spiral galaxy of tens of thousands of particles with a glowing core that rotates slowly; the cursor tilts the view.
- Plan
- Free · MIT
- Dependencies
- React only
- Props
- 8 (8 adjustable)
Free forever
MIT license, for personal and commercial projects. See installation
Made with Furin: Pill Nav · Metal Button · Copy Morph
Props
| Prop | Type | Default | Description |
|---|---|---|---|
coreColor | string | "#ffd9a6" | Color of the core and the central bulge. |
armColor | string | "#7f9eea" | Color of the spiral arms. |
background | string | "#04050a" | Color of the space background. |
density | number | 1 | Number of particles (1 = normal). |
arms | number | 3 | How many arms the spiral has. |
speed | number | 1 | How fast it rotates. |
tilt | number | 50 | Tilt of the galaxy relative to the view, in degrees (90 = face-on). |
reactivity | number | 1 | How much the cursor tilts the view. |
Installation
Install it
1Install the package
npm i furin-ui2Import it
import { Galaxy } from "furin-ui";Also with pnpm add furin-ui, yarn add furin-ui or bun add furin-ui. Each component ships its own CSS and imports it for you.
Dependencies
- React
- 18 or later
- WebGL 2
- in the browser
- Other libraries
- none
- License
- MIT
Each file ships its own CSS: there's nothing else to install.
Keep exploring
Grain Mesh
FreeA mesh gradient that floats and blends, with fine film grain; the cursor pulls on one of the blobs.
Backgrounds
Halftone Field
FreeA print-style halftone with two overprinted inks: the dots grow and shrink with a flowing field and with the cursor.
Backgrounds