Better User Feedback with Custom Notification Banners

We are excited to introduce a powerful new tool for form developers: Notification Banners.

One of the challenges in building complex forms is communicating with the user when things happen "under the hood." Whether a custom script has finished running, an API call failed, or a calculation is processing, your users need to know the status.

Introducing tf.notify

You can now trigger toast notifications programmatically using the new tf.notify function. We’ve wrapped the popular Sonner library to give you a robust set of tools right out of the box.

What can you do with it?

  • Instant Feedback: Let users know immediately when a button click has successfully executed a script.

  • Rich Error Handling: Display detailed error messages that stand out, helping users troubleshoot issues quickly.

  • Promise Handling: Automatically show a "Loading..." state while your script runs, which flips to a "Success" message when finished—no complex logic required.

  • Interactive Actions: Add buttons directly into the banner to let users retry an action or undo a mistake.

Ready to improve your user experience? Head over to our documentation to see full examples and advanced configuration options.

Happy building!