-
Notifications
You must be signed in to change notification settings - Fork 178
Description
What feature would you like to see?
A few months ago I made a little animated notification library for ratatui to add toasts and animated notifications that slide in, like the classical "slide up from the bottom corner" notifications about friends being online and so forth. I decided to dust it off this weekend and update it and polish it off so I could post it on github.
It occurred to me that it might be useful for just-every code, as more agentic workflows come into the mix and there is more for the user to keep track of. The API has a number of slide, animate, fade, or basic options and nine anchor positions.
Have a look at the repo here: https://github.com/5ocworkshop/ratatui-notifications
Screenshots don't really do it justice, but there are two in there. To make it easy to use I build a quick demo and a cookbook, both of which you can press 'i' when your desired notification is active and you can see the code and write it out to a file to make integration super easy.
My original inspiration was the notifications in the Yazi file manager but I extended the idea quite a bit. I hope it might be useful in the TUI.