Phox Elements
ANIMATION Particle backgrounds for Breakdance

Put moving particles behind your content

Particles Background is a container with an animated particle field behind whatever you place inside it. Pick one of eight presets, set the colours, count, size and speed, and add your headings and buttons on top. No code needed.

Eight presets Your content on top Reacts to hover and click
Live demos

Ten backgrounds, all with real content on top

Every panel below is a Particles Background element with a heading and buttons placed inside it. Move the pointer over the particles and click on them.

Network preset

A hero with a connected network behind it

Preset: Network. 70 violet particles joined by lines, with Grab on hover so lines reach for the pointer and Push on click to add more. The heading, text and buttons are ordinary content placed inside the element.

Northline Fibre

Every village on the same network

Full fibre broadband for farms, pubs and front rooms across the valley. One price, no mid-contract rises.

Snow, Bubbles and Fireflies

Three moods for three cards

Each card is its own element with a different preset. Snow falls, bubbles rise and grow when you hover them, and fireflies fade in and out and drift away from the pointer.

Castle Square

The winter market is back

Fifty stalls, hot chocolate and a brass band. Friday 27 November to Wednesday 23 December.

Harbour Aquarium

Late opening every Thursday

See the rays fed at 6pm and walk the tunnel after dark. Open until 9pm.

Longmeadow Farm

Guided night walks

Two hours through the hay meadow with a ranger and a flask of tea. Bring a torch.

Stars and Confetti

A night sky and a celebration

Stars twinkle and swell under the pointer. Confetti falls in mixed shapes and colours on a light background, and every click drops ten more pieces.

Moorland Observatory

Dark sky nights

Look through the 16 inch telescope with our astronomers. Warm clothes essential, hot soup included.

Booking confirmed

You are in. See you on Saturday!

Your two tickets are on their way by email. Click anywhere on this card for more confetti.

NASA Space preset

A deep star field with figures on top

Preset: NASA Space. Hundreds of small fading stars that drift slowly. Hover and nearby stars join up with lines, like drawing a constellation.

City Planetarium

A journey to the edge of the solar system

A 40 minute show under the full dome, narrated live. New for the autumn season.

23mdome
8Kprojection
210seats
Colorful preset and Custom JSON

Rainbow dots and a honeycomb

The left card uses the Colorful preset with lines switched on. The right card uses Custom JSON: six-sided outlines in three ambers that drift up and to the right, and grow when you hover them.

Riverside Colour Dash

5K of colour for the hospice

Run, jog or walk through six paint stations along the river path. All ages welcome.

Hollin Hill Honey

Raw honey from forty hives

Spun, jarred and labelled by hand on the farm. This year the heather honey is ready.

Target Existing Section

Add particles to a section you already have

The panel below is a normal Div with the ID pxe-pt-target. A Particles Background element with Target a Section switched on sends its particles there, and the element itself stays hidden. This also shows the effect on a light background.

Newsletter

One email a month, no noise

New elements, wireframes and the occasional offer. Unsubscribe with one click.

How it works

Three steps to a particle background

It is a container, so you build inside it like a Div.

1

Add the element

Drop Particles Background on the page and set its background colour and height, or switch on Fit to content.

2

Pick a preset

Choose one of eight presets, then set the particle count, colours, size and speed, and how it reacts to hover and click.

3

Add your content

Place headings, text, buttons or anything else inside. Your content sits above the particles and stays clickable.

Features

What you get

A particle field you set up with controls, not code.

Eight presets

Network, Snow, Stars, Bubbles, Fireflies, Confetti, NASA Space and Colorful.

A real container

Add any elements inside. They are centred over the particles and remain clickable.

Simple controls

Particle count, particle colour, line colour, size and speed, without touching JSON.

Hover and click

Repulse, Grab or Bubble on hover. Push, Remove or Repulse on click.

Fit to content

Let the element grow with what is inside it, or give it a fixed height in px, vh or %.

Target a section

Send the particles to any existing section or div by its ID. The element itself stays hidden.

Custom JSON

Paste a particles.js configuration for full control of shapes, movement and interaction.

Resizes itself

When the box changes size, the particle field is rebuilt to fit.

Solid or gradient background

Set a background colour or gradient and a border radius on the container.

Use cases

Where it works best

Anywhere a flat background feels too still.

01

Hero sections

A network or star field behind the main heading and buttons.

02

Seasonal pages

Snow for winter events and Christmas opening hours.

03

Thank you pages

Confetti behind a booking or order confirmation.

04

Event and venue cards

A different preset on each card to set the mood.

05

Calls to action

A subtle field behind a sign-up or contact panel.

06

Existing layouts

Target a section you already built and leave its structure alone.

Settings reference

Every control, explained

This is the full list of settings in the Breakdance editor, with their default values.

ControlWhat it doesDefault
Content: Particles Settings
PresetNetwork (Connected), Snow, Stars, Bubbles, Fireflies, Confetti, NASA Space or Colorful.Network
Particle CountHow many particles, from 10 to 300. Some presets scale this up or down.80
Particle ColorColour of the particles. Fireflies, Confetti, NASA Space and Colorful use their own colours.#ffffff
Line ColorColour of the lines between particles.#ffffff
Particle SizeSize of each particle, from 1 to 20.3
SpeedHow fast the particles move, from 1 to 20.3
Show Lines Between ParticlesJoins nearby particles with lines. Used by Network and Colorful.On
Interactive on HoverNone, Repulse, Grab or Bubble. Used by Network.Repulse
Interactive on ClickNone, Push (Add Particles), Remove Particles or Repulse. Used by Network.Push
Content: Target Existing Section
Target a SectionSends the particles to another section or div. The element itself is hidden.Off
Section IDThe ID of the section or div to target.—
Content: Custom JSON
Use Custom JSONUse your own particles.js configuration in place of a preset.Off
JSON ConfigThe configuration, as JSON.—
Design: Container
Fit to contentThe element takes its height from what is inside it.Off
HeightA fixed minimum height in px, vh or %. Responsive.400px
Background ColorA solid colour or a gradient behind the particles.#0d1117
Border RadiusRounds the corners of the container.0
Tips & FAQ

Good to know

Do I need to write any code?

No. Pick a preset and use the controls. Custom JSON is there if you want it, but it is optional.

Can I put my own content on top?

Yes. The element is a container, so add headings, text, buttons or any other element inside it.

Can I add particles to a section I already built?

Yes. Give that section an ID, switch on Target a Section and enter the ID. In this mode the particles do not react to the pointer.

Which presets use my colours?

Network, Snow, Stars and Bubbles use the Particle Color. Fireflies, Confetti, NASA Space and Colorful have their own colours built in.

How many particles should I use?

Fewer than you think. 50 to 80 looks full on most sections and stays smooth on phones, especially with lines switched on.

What about the older Particles element?

It still works on pages that use it. Use Particles Background for new work.

Add particles to your next page

Particles Background is included with Phox Elements, along with 150+ other premium elements for Breakdance.