Backgrounds Fancy Stable

FallingStarsBg

Canvas-based 3D starfield with perspective projection, motion trails, and glow

Preview

Installation

pnpm add fancy-ui-svelte
import { FallingStarsBg } from 'fancy-ui-svelte'

Usage

svelte
<script lang="ts">
  import { FallingStarsBg } from 'fancy-ui-svelte';
</script>

<FallingStarsBg />

Examples

Basic Usage

Custom Color

Star Count

Control number of stars.

Props

PropTypeDefaultDescription
color string"#FFF"Star color as hex string
count number200Number of stars