View code
BETA in v3.6! Confetti Party! On Firefox? Can't see confetti? Hit refresh.
Chome: If you can't click links, just click on the page anywhere. That will remove the confetti canvas. Then you should then be able to navigate. Known issue! working on it! Thanks for your patience.


Based on code at: CodePen by Hamn Chawroka
  • Displays a fun rain of confetti over the whole browser window
  • Clicking on the confetti stops it raining
  • Emits on clicked event
  • Depends on the external file rg-confetti.js, which will be loaded from the URL given in the opts




riot.mount('rg-confetti', {confetti : {url: "/rg-confetti.js"}});