跳到内容

Animated Raffle Winner

v1.1

Rafael 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日
需要 WordPress 6.1+已测试到 7.2PHP 7.0+

贡献者

截图

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
Animation in progress with numbers rolling
Animation in progress with numbers rolling

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. A1 to C10), 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:

  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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums