0.0.4 • Published 1 year ago
@toastup/core v0.0.4
Toastup Core
This is the core of the Toastup project. Contains the heart of the library. The core is framework agnostic and can be implemented in any frontend framework or ui library.
Available for:
- React
- VanillaJS (soon)
How to install
$ npm install -S @toastup/core
$ yarn add @toastup/core
Worth mentioning list of features
- custom toast id
- six different available positions
- five toast types: success, info, warning, error and default
- ability to add on top or bottom of toast stack
- override any of toast element if you wish
- drag on mobile
- three themes: light, dark and colorful
- custom class or style for any of toast element
- RTL support
- pause on hover
- pause on window focus lost
- beautiful smooth animations (inAnimation, bodyInAnimation, outAnimation)
- ability to remove toast programmatically
- five callback: onShowing, onShow, onHiding, onHide, onClick
- global settings via Toaster
- individual settings via Toast
Acknowledgment
If you found it useful somehow, I would be grateful if you could leave a star in the project's GitHub repository.
Thank you.