By Paul Scanlon

Brighten Up Your Astro Site with KwesForms and Rive

In this article, I’ll show you how to add KwesForms to your Astro site and then bring the form to life using custom events and Rive.

Custom events can be used to control the different states of a Rive animation whenever an “event” in the form occurs. This could be when a field becomes invalid, or when the form has been successfully submitted.

If you’re keen to jump ahead, I’ve created an example repo containing all the code, and a live preview:

Hey!

Leave a reaction and let me know how I'm doing.

  • 0
  • 0
  • 0
  • 0
  • 0
Powered byNeon