Skip to content
S

Sonner

An opinionated toast component for React

Open source

#13223in Utilities
0In stores

Description

Sonner is an opinionated toast component for React, so the notifications come with the look and behaviour its author chose rather than a set…

Highlights

  • Toasts for success, error, info, warning and promises
  • Six positions, with swipe that follows the position
  • Rich colours and an optional close button
  • Headless option for your own styling
  • Install with npm install sonner

Ratings & Reviews

No ratings yet

Be the first to rate Sonner.

People also visit

G

goey-toast

Morphing toast notifications for React

UI Libraries
Launch
S

Sona UI

Animated React components you fully own

UI Libraries
Launch
R

react-toastify

React notification made easy

UI Libraries
Launch
A

@aminekun90/react-toast

A lightweight, high-performance

UI Libraries
Launch
S

svelte-sonner

An opinionated toast component for Svelte

UI Libraries
Launch
R

react-local-toast

Local toast helps you to provide feedback related

UI Libraries
Launch

Sonner FAQ

What is Sonner?

An opinionated toast component for React. You render a Toaster in your app and call toast to show a message.

How do I install it?

Run npm install sonner, then render the Toaster in the root of your app.

Can I change where toasts appear?

Yes. Set the position prop to one of six places, such as bottom-right or top-center.

Can I style it myself?

Yes. The docs describe a headless option for building your own look.

What are the best Sonner alternatives?

Popular alternatives to Sonner include React Speech Recognition, React Live Island and Styled components. See all Sonner alternatives

Developer Stuff

Badges