MARKETPLACE
PLUGINS
HEADS OR TAILS
Heads or tails logo

Heads or tails

Published July 2026
   β€’    Updated July 2026

Plugin details

Heads or Tails
A simple, elegant, and fun coin flip popup for Bubble apps.

Use it when you need to make a random choice, run a quick draw, create a playful decision moment, or add a small interactive surprise to your workflow.

The plugin displays a coin animation in a popup, randomly lands on heads or tails, publishes the result, and triggers an event when the result is available.

Main features:
πŸͺ™ Animated coin flip popup
🎲 Random heads or tails result
βœ… Winner state
⏳ Running state
🎨 Custom popup background color or gradient
✍️ Custom title and result texts
⚑ Event triggered when the result is available
πŸ‘† Click outside or on the popup to close it

Demo page: Open demo
Editor: Open editor

$5

One time  β€’  Or  $20/mo

stars   β€’   0 ratings
0 installs  
This plugin does not collect or track your personal data.

Platform

Web

Contributor details

Ticket Land logo
Ticket Land
Joined 2020   β€’   76 Plugins
View contributor profile

Instructions

How to use Heads or Tails
1. Add the Heads or Tails element to your page.

2. Configure the element fields:

text_title
The title displayed at the top of the popup.

text_to_head
The text displayed when the result is heads.

text_to_tails
The text displayed when the result is tails.

bg_color
The popup background color.

Use one color for a solid background:
#ffffff

Use two or more colors separated by commas for a vertical gradient:
#ffffff,#4cc7d7

3. Run the Play action.

When the action starts:
- winner is cleared
- is_running becomes yes
- the popup opens
- the coin animation starts

Before the animation finishes:
- winner becomes either heads or tails
- the event a_result_is_available is triggered

When the animation finishes:
- is_running becomes no
- the result text is displayed in the popup

4. Use the states in your workflows:

winner
Text state. Possible values:
- heads
- tails

is_running
Yes/no state. Use it to know if the animation is currently running.

5. Use the event:

a_result_is_available
Triggered when the result is ready. Use this event to continue your workflow after the coin result is available.

The popup can be closed by clicking on the popup itself or on the background overlay.

Types

This plugin can be found under the following types:
Element   β€’   Event   β€’   Action

Categories

This plugin can be found under the following categories:

Resources

Support contact
Documentation
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble