---
title: "Confetti Lines 3D"
canonical_url: "https://framerhub.io/components/confetti-lines-3d"
last_updated: "2026-11-09T16:24:41.754Z"
---

## 3D Confetti Lines

Confetti lines moving through 3D space with dash animations, in up to 5 colors. Optional mouse control orbits the camera. Built with Three.js.

## Features

**3D confetti lines.** Lines travel through 3D space.

**5 colors.** Set up to 5 colors. Each line uses one at random.

**Dash animation.** An animated dash offset makes each line flow.

**Mouse orbit.** Optionally, mouse movement orbits the camera.

## Use Cases

**Celebration pages.** Success pages, milestones and announcements.

**Product launches.** Launch pages and campaigns.

**Event sites.** Parties, conferences and celebrations.

**Hero sections.** A 3D hero background.

![Confetti Lines 3D Preview](/framerhub/img/components/control/confetti-lines-3d.jpg)

## How to Use

**Colors**

- Colors: Enter comma-separated hex colors for confetti lines (e.g., "#4062BB, #52489C, #59C3C3")

**Background**

- Background Color: Set a background color for the entire canvas

**Animation**

- Count: Number of confetti lines (10-200)
- Speed: Animation speed multiplier (0.1-5)
- Line Width: Thickness of the confetti lines (0.01-0.5)
- Dash Length: Percentage of line visible (0.1-0.9)

### Quick Tips

**Line count.** 30 to 60 lines run smoothly on most devices. Use 20 to 30 on mobile.

**Colors.** Bright, contrasting colors feel festive. Pastels feel softer.

**Dash length.** 0.2 to 0.3 looks dotted. 0.6 to 0.8 looks continuous.

**Speed.** The default (1.0) suits most pages. 0.5 to 0.8 is calmer, 2 to 3 is livelier.

## 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/).

---

**Need help?** [Contact us](/contact).

## Sitemap

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