How to Add a Toast Notification in Webflow
Learn how to create toast notifications in Webflow to confirm user actions with CSS animations and JavaScript.
In this tutorial, Sandro, co-founder of the Gemeos Webflow agency, shows you how to create toast notifications in Webflow to confirm user actions.
Example
1. Create the toast element in Webflow
Create a toast Div with Fixed positioning, bottom: 24px, right: 24px, and z-index: 9999. Add padding, border-radius, and a background color (for example, #333 with white text). Set transform: translateY(100px) and opacity: 0 by default. This toast will sit outside the viewport.
2. Add the transition CSS in an embed
3. Add the trigger script
Conclusion
Toast notifications improve user feedback without interrupting the flow. Use cases:
- Confirmation after form submission
- Notification after copying a link
- Feedback after adding an item to the cart
Lorem ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.















