Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Animation-focused toast component for React 🙂

License

NotificationsYou must be signed in to change notification settings

kbysiec/toastup

Repository files navigation

toastup.mp4

Toastup is an animation-focused toast component for React.

Install

npm

npm install @toastup/react

yarn

yarn add @toastup/react

Integrate

functionApp(){return(<div><buttononClick={()=>add({type:"success",title:"test"})}>        Add toast</button><Toaster/></div>);}

Features

  • easy to use
  • easy to customize
  • beautiful by default
  • smooth animations
  • ability to override the id
  • optional title
  • 6 available positions on the screen
  • normal or reversed display order
  • 5 available types: base, info, success, warning, error
  • 3 themes: light, dark and colorful
  • 8 built-in enter animations
  • 8 built-in exit animations
  • 3 built-in optional body animations
  • ability to create custom animation with ease
  • limit the number of toasts visible on the screen at once
  • right-to-left support
  • custom styling
  • optional ability to drag on mobile
  • 5 available callbacks

Documentation

Find all necessary docshere.

Author

Kamil Bysiec

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.

About

Animation-focused toast component for React 🙂

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp