
Animated Raffle Winner
v1.1Rafael Funchal · 2026年6月11日 上架
An interactive block to create animated raffles with random numbers, theater seats, or CSV participant lists and celebratory animations.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 535
- 最近更新
- 2026年11月10日
贡献者
截图
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, seat, or participant selection.
Key Features:
- Three raffle modes in a tabbed sidebar: Numbers (custom numeric range), Theater (row/section letter + number, e.g.
A1toC10), and CSV (upload or paste a participant list) - CSV column selector (pick one or multiple columns to display, with optional header row skipping and hyphen/space separator toggle)
- Option to exclude previous winners (no repeats) with a live history of drawn winners and a reset button
- Custom title heading and option to hide the default range/participant subtitle
- Cryptographically unbiased random selection (
window.crypto.getRandomValues) - Decelerating “slot machine” rolling animation (1 to 15 seconds) before revealing the winner
- 10 Celebration animation options (Fireworks, Confetti, Party Cannons, Gold Coins, Stars, Sparkles, 3D Balloons, Floating Hearts, Spiral Streamers, or None) with configurable celebration duration (1 to 30 seconds)
- Fullscreen mode with keyboard (
Escape) and on-screen close (×) button with tooltip - Theme font inheritance and per-block Typography Font Family selector
- Simple, accessible, and fully responsive interface
How to Use:
- Add the “Animated Raffle Winner” block to your content
- Configure the starting number in the settings panel
- Configure the ending number in the settings panel
- Publish or preview the page
- 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


