Skip to content
R

react-local-toast

Local toast helps you to provide feedback related

by OlegWockOpen source

#1434in UI Libraries
0In stores

Description

react-local-toast is a React library that shows toast messages next to the component they relate to, instead of in one fixed corner of the p…

Highlights

  • Toasts linked to a specific component
  • Placed on any side of the component
  • Info, success, warning, error and loading styles
  • Auto-hide after a timeout or hide in code
  • WAI-ARIA support and TypeScript

Ratings & Reviews

No ratings yet

Be the first to rate react-local-toast.

People also visit

R

react-toastify

React notification made easy

UI Libraries
Launch
R

react-hot-toast

Smoking Hot React Notifications

UI Libraries
Launch
G

goey-toast

Morphing toast notifications for React

UI Libraries
Launch
A

@aminekun90/react-toast

A lightweight, high-performance

UI Libraries
Launch
T

toastify-react-native

toastify-react-native allows you to add notifications to your react-native app

UI Libraries
Launch
N

notistack

demo - docs - Highly customizable notification snackbars

UI Libraries
Launch

react-local-toast FAQ

What is react-local-toast?

A React library for showing toast messages beside the component they are about, rather than in a global corner of the page.

How do I start using it?

It is published on npm. Wrap your app in LocalToastProvider, mark the component that should own a toast, and add the styles yourself. The README's basic usage section walks through the steps.

Can I use my own toast design?

Yes. The README says you can bring your own design or your own toast component, or write a custom implementation.

Does it work in Shadow DOM?

The README says that for cases such as toasts in Shadow DOM you may want to inject the styles manually.

Is it accessible?

The README lists WAI-ARIA support among its features.

What are the best react-local-toast alternatives?

Popular alternatives to react-local-toast include react-toastify, react-hot-toast and goey-toast. See all react-local-toast alternatives

Developer Stuff

Badges