---
title: "Shooting Stars"
canonical_url: "https://framerhub.io/components/shooting-stars"
last_updated: "2026-11-09T16:24:45.583Z"
---

## Shooting stars across 3D space for Framer

Shooting Stars streaks bright diagonal lines across a 3D scene, each one drawing in with a moving dash like a meteor. Behind them, an optional starfield twinkles for depth, and the camera can orbit gently with the mouse. It gives a hero a night-sky mood that feels calm at low speed and energetic at high speed.

Colors, background, star count and size, speed, line width and the mouse effect are all set in Framer's properties panel. It is free and built with Three.js.

## Features

**Diagonal shooting stars.** Animated dashed lines that streak through 3D space.

**Background starfield.** Up to 2,000 twinkling stars, with their own color and size.

**Mouse orbit.** Optional camera movement that follows the cursor.

**Three star colors.** The shooting stars pick from up to three colors for variety.

## Where Shooting Stars works best

**Space, astronomy and science brands.** Use a deep navy background, 1,500 stars and white and pale blue shooting stars behind a headline. It looks like a real night sky.

**Product launches.** A countdown or "launching soon" page with fast, thicker lines in brand colors feels like something is about to happen.

**Wish and celebration pages.** Gold and pink shooting stars on a dark purple background suit greetings, events or holiday campaigns.

**Calm section backgrounds.** Slow speed, thin lines and the mouse effect off give a long page a quiet, moving background between content blocks.

![Shooting Stars Preview](/framerhub/img/components/control/shooting-stars.jpg)

## How to Use

### Customization

**Star colors**

- Color 1, 2 and 3 for the shooting stars

**Background**

- Background Color: canvas color
- Star Count: background stars (0 to 2,000)
- Star Color: background star color
- Star Size: background star size (0.01 to 0.2)

**Animation**

- Speed: how fast the stars streak (0.1 to 5)
- Line Width: trail thickness (0.01 to 0.2)

**Interaction**

- Enable Mouse Effect: camera orbit with the mouse

### Starting settings

**Elegant.** Black background, 800 stars, slow speed (around 0.5), thin lines (0.02), mouse effect off.

**Energetic.** Deep blue background, 1,800 stars, speed 2.5, thicker lines (0.08), mouse effect on.

**Brand burst.** Three brand colors for the shooting stars, star count 0, transparent or dark background.

## Performance and mobile

Dark backgrounds give the best contrast, so you can keep line widths thin and still see the effect. Star count is the main cost, so reduce it at the mobile breakpoint. Speed and line width set the mood together: slow and thin feels atmospheric, fast and thick feels dynamic.

## Compared with similar components

[Star Warp](/components/star-warp) rushes a starfield toward the viewer, which reads as hyperspace rather than a night sky. [Neon Trails](/components/neon-trails) is a spiral of forward-moving neon lines. [Volumetric Galaxy](/components/volumetric-galaxy) renders a whole galaxy as a background. Choose Shooting Stars when you want a sky with occasional streaks of light.

## Credits

Built upon [Animated Mesh Lines](https://github.com/Jeremboo/animated-mesh-lines) by [Jeremboo](https://jeremieboulay.fr/portfolio/) for [Codrops](https://tympanus.net/codrops/).

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
