# Ding

> Spring-physics toasts where one toast morphs in place instead of stacking, for React, Svelte, Vue and plain JS.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/ding

free

Spring-physics toasts where one toast morphs in place instead of stacking, for React, Svelte, Vue and plain JS.

by Yusuf Cengiz[GitHub](https://github.com/YusufCeng1z/ding)[npm](https://npmjs.com/package/@yusufceng1z/ding)

[visit](https://ding.yusufcengiz.dev/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://ding.yusufcengiz.dev](https://ding.yusufcengiz.dev/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [Sonner](https://tastebase.ehsanulsiam.workers.dev/browse/sonner)

Opinionated toast component with stacking, swipe to dismiss and promise toasts; ports for Vue, Svelte, Solid and Angular.

no preview

### [react-hot-toast](https://tastebase.ehsanulsiam.workers.dev/browse/react-hot-toast)

Lightweight toast library for React with a headless useToaster hook for fully custom UI.

no preview

### [Torph](https://tastebase.ehsanulsiam.workers.dev/browse/torph)

Animated text morphing: labels change letter by letter instead of swapping.

no preview

### [Dot Matrix](https://tastebase.ehsanulsiam.workers.dev/browse/dot-matrix)

A shadcn registry of 90 animated dot-matrix loaders for React on square, circular, triangle, hex and 3x3 grids.

## For your agent

##### Install

`npm i @yusufceng1z/ding-react`

##### Use it for

- a single status that morphs in place from loading to success or error, never stacking
- upload or export progress that turns into the result in the same spot
- an Undo whose click morphs the notice into its outcome instead of closing it
- the same API across React, Svelte and Vue apps in one product

##### Skip it when

- several notifications must be visible at once: ding shows one toast at a time; use sonner
- an app that wants the standard stacked look and a long-proven API, in React or through sonner's Vue, Svelte, Solid or Angular port: use sonner
- form errors or confirming the button just pressed: show it inline or change the button itself (torph)
- a progress bar shown inline: use the kit's Progress component

##### What's inside7 free

- Toaster
- toast.success / error / warning / info / loading
- toast.promise
- toast.update
- Action and secondary buttons
- Progress bar
- Sounds

##### Facts

**Frameworks**
react, svelte, vue, solid, angular, vanilla

**Styling**
css-in-js

**Weight**
small

**Accessibility**
strong

**Maturity**
experimental

**License**
MIT

**Price**
Free

##### Pairs with

[Torph](https://tastebase.ehsanulsiam.workers.dev/browse/torph)

##### Alternatives

[Sonner](https://tastebase.ehsanulsiam.workers.dev/browse/sonner)[react-hot-toast](https://tastebase.ehsanulsiam.workers.dev/browse/react-hot-toast)

[Compare Ding with its alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/ding-alternatives)

```
import { Toaster, toast } from '@yusufceng1z/ding-react'

<Toaster position="top-center" theme="system" />

<button
  onClick={() =>
    toast.promise(save(), {
      loading: 'Saving…',
      success: 'Saved',
      error: (err) => `Could not save: ${err.message}`,
    })
  }
>
  Save
</button>
```

https://ding.yusufcengiz.dev/playground/

Loading website

[Visit](https://ding.yusufcengiz.dev/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
