Starfield Background
3D perspective starfield flying through space, with optional warp speed streaks.
Import
import { StarfieldBackground } from "@igorao79/uivix";Playground
1x
300
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| count | number | 300 | Number of stars |
| speed | number | 1 | Speed multiplier |
| color | [r, g, b] | [200, 200, 255] | Star color as RGB |
| maxSize | number | 2.5 | Max star dot size |
| warp | boolean | false | Enable warp speed streak effect |
| className | string | fixed inset-0 ... | CSS class |