# Sonner

[BASE product page](<https://base.akulich.dev/en/library/sonner/>) · [Resource](<https://sonner.emilkowal.ski>)

ID: sonner · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A React notification component with a queue, actions, and promise states\.

## Type

UI library

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/sonner/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/sonner/#resource-access>)

Sonner code is available free of charge for local and commercial projects, subject to its license\.

## [Paid features and costs](<https://base.akulich.dev/en/library/sonner/#resource-access>)

This library does not require a paid plan\. Development and hosting of the finished application are separate from the free code license\.

## [Access and limitations](<https://base.akulich.dev/en/library/sonner/#resource-access>)

Sonner code is available free of charge for local and commercial projects, subject to its license\. This library does not require a paid plan\. Development and hosting of the finished application are separate from the free code license\.

## [Use cases](<https://base.akulich.dev/en/library/sonner/#resource-tasks>)

- Notifications about action results
- Application success and error messages

## Category IDs

- frontend

## Subcategory IDs

- frontend\.components

## Tags

- React
- components

## Also known as

- emilkowalski/sonner

## [Selection purpose](<https://base.akulich.dev/en/library/sonner/#resource-selection>)

Notifications about action results

## [Choose this when](<https://base.akulich.dev/en/library/sonner/#resource-selection>)

- Notifications about action results
- Application success and error messages

## [Consider alternatives when](<https://base.akulich.dev/en/library/sonner/#resource-selection>)

- When choosing for this topic, compare Sonner with Embla Carousel\. A candidate to compare under the topic: UI components\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.

## [Requirements](<https://base.akulich.dev/en/library/sonner/#resource-selection>)

- A React application with sonner installed and Toaster mounted\.

## [Limitations](<https://base.akulich.dev/en/library/sonner/#resource-selection>)

- Costs and limits of free use: This library does not require a paid plan\. Development and hosting of the finished application are separate from the free code license\.
- Terms of use: MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained\.
- A toast reports UI state; it does not confirm backend operation success without handling the response\.

## [Questions before use](<https://base.akulich.dev/en/library/sonner/#resource-faq>)

### What can you use for free in Sonner?

Sonner code is available free of charge for local and commercial projects, subject to its license\.

### What additional costs might arise with Sonner?

This library does not require a paid plan\. Development and hosting of the finished application are separate from the free code license\.

### What terms of use matter for Sonner?

MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained\.

### How do you get started with Sonner?

Check the project's stack and version against the current Sonner documentation; add the package or the required source component\. Implement the selected workflow with the supplied data, adapting styles and states to the project\. Check the result in the target environment, remove sample data, and retain the notices required by the license\.

### What should I place in a React application for Sonner to show notifications?

Toaster is added to the application tree as the notification rendering location; toast\(\) is then called from the relevant handlers\. The library targets React, and full behavior configuration is described in separate API documentation\. The README also offers an optional ask\-sonner skill for integration assistance\.

## Related resources selected by editors

- embla\-carousel: A candidate to compare under the topic: UI components\. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together\.

## Sources for the selection guide

- [https://sonner\.emilkowal\.ski](<https://sonner.emilkowal.ski>)
- [https://github\.com/emilkowalski/sonner](<https://github.com/emilkowalski/sonner>)
- [https://github\.com/emilkowalski/sonner/blob/main/README\.md](<https://github.com/emilkowalski/sonner/blob/main/README.md>)
- [https://github\.com/emilkowalski/sonner/blob/main/LICENSE\.md](<https://github.com/emilkowalski/sonner/blob/main/LICENSE.md>)
- [https://raw\.githubusercontent\.com/emilkowalski/sonner/HEAD/README\.md](<https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/README.md>)

## [Possible workflow](<https://base.akulich.dev/en/library/sonner/#resource-scenario>)

Notifications about action results with Sonner\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A working React project and a specific use case: notifications about action results\.
- A design, interface states, or dataset; target screens and accessibility requirements\.

## Steps

1. Check the project's stack and version against the current Sonner documentation; add the package or the required source component\.
2. Implement the selected workflow with the supplied data, adapting styles and states to the project\.
3. Check the result in the target environment, remove sample data, and retain the notices required by the license\.

## Check your result

- The example works in the chosen tech stack, including target dimensions and input errors\.
- Dependency size, keyboard behavior, and reduced motion suit the task; license terms are met\.

## [License](<https://base.akulich.dev/en/library/sonner/#resource-license>)

MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## Related resource IDs

- embla\-carousel

## [Sources](<https://base.akulich.dev/en/library/sonner/#resource-sources>)

- [Official website](<https://sonner.emilkowal.ski>)
- [Source code](<https://github.com/emilkowalski/sonner>)
- [Documentation and use](<https://github.com/emilkowalski/sonner/blob/main/README.md>)
- [License](<https://github.com/emilkowalski/sonner/blob/main/LICENSE.md>)
- [Official source](<https://raw.githubusercontent.com/emilkowalski/sonner/HEAD/README.md>)

## Editorial review date

2026\-10\-06

## Editorial review scope

Purpose, published primary source code/documentation, and license terms were reviewed\. An example was not run in a local project\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
