Ding

Toasts with real spring physics that morph instead of stacking.

访问官网

概览

Every app you use stacks its notifications into a pile. A save confirmation, an upload progress bar and an error all fight for the same corner, and the one you needed scrolls away first.

Ding keeps a single toast on screen and morphs it in place. A new call takes over the quick toast with a spring animation, while errors and other held toasts keep their place until you dismiss them.

What it does

  • Real springs — size, shape and text move on a spring solver, so interrupting an animation keeps its momentum
  • Zero dependencies — MIT licensed, no stylesheet to import; styles are injected from JavaScript
  • Four frameworks — React, Svelte 5, Vue 3 and plain JavaScript, plus a shadcn/ui registry entry
  • Rich content — descriptions, avatars, buttons, progress bars and countdown lines

The fine print

Free and open source under MIT. Six positions, light, dark and system themes, right-to-left support, and colours and corner radius as CSS variables. Accessible by default, with live regions, keyboard dismiss and reduced-motion support.

For: front-end developers who want notifications that behave like part of the interface instead of a pile of popups.

  • 用一个小巧、零依赖的库把 Mermaid 图表渲染成 SVG

    应用 UI SDK
  • 118+ 个 React 与 React Native 高级组件,含模板与 AI 工具链,一次买断

    应用 UI SDK
  • 把办公应用嵌入自家产品的 Office SDK

    应用 UI SDK