Spinner Games

Still stuck with boring spinners?

Turn dead waiting time into playtime โ€” drop in a tiny playable game and keep your users entertained while they wait.

Works with your stack

Angular React Vue Web Component JavaScript
Size

Pong

Breakout

Flappy

Obstacles

Bubbles

Plinko

Documentation

Pick a game and your framework, tweak the props, and copy the snippet.

Game Framework
Install
Use

๐ŸŽจ Change the color

Color isn't a prop โ€” every game reads the --spinner-color CSS custom property. Set it on the element (or any ancestor) and it cascades in. Because it's plain CSS, it works the same in HTML, React, Vue and Angular. Try the swatches:

Pick a color

In a stylesheet โ€” recolors every game on the page

spinner-bubbles {
  --spinner-color: #2caac3;
}

Or inline, on a single instance

<spinner-bubbles style="--spinner-color: #2caac3"></spinner-bubbles>

Every game is themeable with the --spinner-color CSS variable and sizes itself to its container โ€” see docs/ for the full reference.

Changelog

What's new in Spinner Games.

New game

Plinko

A minimal Plinko / Galton board: aim the drop point and release a ball that bounces down through a peg grid into the scoring slots. Bounces are fully deterministic โ€” no randomness โ€” so where it lands depends only on where you drop it.

Enhancement

Bubbles

Simplified the game: removed one starting row of bubbles, and the colors offered to shoot are now drawn only from the colors still visible on the board.