Title: Animated Raffle Winner
Author: Rafael Funchal
Published: <strong>June 11, 2026</strong>
Last modified: June 11, 2026

---

Search plugins

![](https://ps.w.org/animated-raffle-winner/assets/banner-772x250.png?rev=3568277)

![](https://ps.w.org/animated-raffle-winner/assets/icon-256x256.png?rev=3568277)

# Animated Raffle Winner

 By [Rafael Funchal](https://profiles.wordpress.org/rafaelfunchal/)

[Download](https://downloads.wordpress.org/plugin/animated-raffle-winner.1.0.zip)

 * [Details](https://wordpress.org/plugins/animated-raffle-winner/#description)
 * [Reviews](https://wordpress.org/plugins/animated-raffle-winner/#reviews)
 *  [Installation](https://wordpress.org/plugins/animated-raffle-winner/#installation)
 * [Development](https://wordpress.org/plugins/animated-raffle-winner/#developers)

 [Support](https://wordpress.org/support/plugin/animated-raffle-winner/)

## Description

The Animated Raffle Winner block allows you to create engaging raffle experiences
on your WordPress site. With smooth animations and exciting visual effects, this
block is perfect for promotions, events, contests, and any situation that requires
random number selection.

**Key Features:**

 * Set a custom number range (start and end)
 * Number rolling animation for 5 seconds before revealing the result
 * Highlighted display of the drawn number
 * Animated fireworks to celebrate the result
 * Simple and intuitive interface
 * Fully responsive

**How to Use:**

 1. Add the “Animated Raffle Winner” block to your content
 2. Configure the starting number in the settings panel
 3. Configure the ending number in the settings panel
 4. Publish or preview the page
 5. Click the “Draw” button to start the raffle!

The block is perfect for:
 – Raffles at events and promotions – Random selection
of participants – Games and interactive activities – Educational demonstrations 
about randomness – Any application that needs random selection with visual impact

### Source Code & Build Instructions

The development source code and build tools for this plugin are publicly maintained
on GitHub:
 https://github.com/RafaelFunchal/animated-raffle-winner

The source code is also included directly within the `src/` directory in this distribution
package.

To build the plugin from source:
 1. Ensure you have Node.js and npm installed. 
2. Install the dependencies: `npm install` 3. Build the assets: `npm run build`

## Screenshots

[⌊Block in the editor showing the range settings⌉⌊Block in the editor showing the
range settings⌉[

Block in the editor showing the range settings

[⌊Initial state of the block on the frontend before the raffle⌉⌊Initial state of
the block on the frontend before the raffle⌉[

Initial state of the block on the frontend before the raffle

[⌊Animation in progress with numbers rolling⌉⌊Animation in progress with numbers
rolling⌉[

Animation in progress with numbers rolling

## Blocks

This plugin provides 1 block.

 *   Animated Raffle Winner Create interactive raffles with number animation and
   fireworks

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/animated-raffle-winner` directory
    or install directly through the WordPress plugins screen
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Add the “Animated Raffle Winner” block to any page or post using the Gutenberg 
    editor

## FAQ

### How do I configure the number range?

In the block editor, select the Animated Raffle Winner block. In the right sidebar(
Inspector), you will see two fields: “Starting Number” and “Ending Number”. Enter
the desired values.

### Can I use negative numbers?

Yes! The block accepts any integer, including negative numbers.

### Does the animation work on mobile devices?

Yes, the block is fully responsive and works perfectly on smartphones and tablets.

### Can I customize the animation duration?

Currently, the animation has a fixed duration of 5 seconds to provide a consistent
and exciting experience.

### Is the raffle truly random?

Yes, we use JavaScript’s Math.random() function, which generates pseudo-random numbers
suitable for most raffle applications.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Animated Raffle Winner” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Rafael Funchal ](https://profiles.wordpress.org/rafaelfunchal/)

[Translate “Animated Raffle Winner” into your language.](https://translate.wordpress.org/projects/wp-plugins/animated-raffle-winner)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/animated-raffle-winner/),
check out the [SVN repository](https://plugins.svn.wordpress.org/animated-raffle-winner/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/animated-raffle-winner/)
by [RSS](https://plugins.trac.wordpress.org/log/animated-raffle-winner/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Added background image selector from Media Library
 * Added background/overlay color opacity control (0-100)
 * Added text size presets (Extra Small, Small, Medium, Large, Extra Large)
 * Updated front-end button label to “Draw again” after each result
 * Added accessibility improvements: live result announcements and reduced-motion
   support
 * Added fullscreen exit via Escape key and automatic celebration stop

#### 0.1.0

 * Initial release
 * Raffle with configurable range
 * 5-second animation
 * Celebratory fireworks
 * Responsive interface

## Meta

 *  Version **1.0**
 *  Last updated **7 hours ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.1 or higher **
 *  Tested up to **7.0**
 *  PHP version ** 7.0 or higher **
 * Tags
 * [animation](https://wordpress.org/plugins/tags/animation/)[block](https://wordpress.org/plugins/tags/block/)
   [lottery](https://wordpress.org/plugins/tags/lottery/)[raffle](https://wordpress.org/plugins/tags/raffle/)
   [random](https://wordpress.org/plugins/tags/random/)
 *  [Advanced View](https://wordpress.org/plugins/animated-raffle-winner/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/animated-raffle-winner/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/animated-raffle-winner/reviews/)

## Contributors

 *   [ Rafael Funchal ](https://profiles.wordpress.org/rafaelfunchal/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/animated-raffle-winner/)