Confetti & SweetAlert in Lightning Web Component

Salesforce recently released a way to celebrate every successful milestone using Path component.

Why: A confetti celebration creates a little fun when reps reach a milestone.

Checkout the release notes: https://releasenotes.docs.salesforce.com/en-us/summer19/release-notes/rn_sales_features_core_path.htm

What if you want to implement the same confetti in your own way using any of the available Salesforce framework, Lightning Component or Lightning Web Component. Thanks to Narender Singh for his blog on Custom Confetti Lighting component.

For Learning purpose, I have used the Lightning Web Component to re-create the same confetti celebration with some sweet alert and it can be added in any record detail page.

Sources :

Confetti JS (https://www.npmjs.com/package/canvas-confetti)
Sweet Alert JS (https://sweetalert.js.org/guides/)
https://www.linkedin.com/pulse/confetti-sweetalert-lightning-web-component-yogaraj-kv/
https://forcepanda.wordpress.com/2019/07/19/add-confetti-effect-to-lightning-components-and-flows/

6 Thoughts to “Confetti & SweetAlert in Lightning Web Component”

  1. Hi! Thіs is my first comment heгe so I just
    wanted to give a գuick shout ߋut and sɑy I trսly enjoy
    reading through your articⅼes. Cann you suggest any
    οther blogs/websites/forums that deal with the same topics?

    Many thanks!

  2. Jim

    Hi would you mind sharing which blog platform you’re using?
    I’m planning to start my own blog in the near future but I’m having a hard time choosing between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style seems
    different then most blogs and I’m looking for something unique.
    P.S My apologies for getting off-topic but I had to ask!
    It is the best time to make some plans for the future and it’s time
    to be happy. I have read this post and if I could I want to suggest you some interesting
    things or suggestions. Perhaps you could write next articles referring to this article.

    I desire to read even more things about it!
    I am sure this article has touched all the internet people, its really really pleasant post on building up new weblog.

  3. Jim

    I’ve been surfing online more than 4 hours today, yet
    I never found any interesting article like yours. It is pretty worth enough for me.
    In my view, if all website owners and bloggers made good content
    as you did, the internet will be much more useful than ever before.
    Way cool! Some very valid points! I appreciate you penning this write-up and
    also the rest of the site is really good. I’ve
    been browsing online more than 2 hours today, yet I never found
    any interesting article like yours. It’s pretty worth enough for me.
    Personally, if all webmasters and bloggers made good content as you did, the
    net will be much more useful than ever before.

  4. Hello there, You’ve done a fantastic job. I will
    definitely digg it and personally recommend to my friends. I’m
    sure they’ll be benefited from this site.

  5. You made some decent points there. I did a search on the subject matter and found most individuals will consent with your site.

  6. Pretty portion of content. I just stumbled upon your web site and in accession capital to assert that I get actually loved account your blog posts. Anyway I will be subscribing on your augment or even I achievement you get entry to persistently fast.

Leave a Comment