<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Yusuf Cengiz]]></title><description><![CDATA[Yusuf Cengiz]]></description><link>https://yusufcengiz.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6af88f66eac6df2a260d2f5d/f686f7dd-1bf9-441b-8a06-013cd6f01f52.png</url><title>Yusuf Cengiz</title><link>https://yusufcengiz.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 21:30:42 GMT</lastBuildDate><atom:link href="https://yusufcengiz.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Your toast notifications fade. Mine morph.]]></title><description><![CDATA[Ding is a zero-dependency toast library with real spring physics. A loading toast turns into success in place. React, Svelte, Vue and vanilla JS.]]></description><link>https://yusufcengiz.hashnode.dev/your-toast-notifications-fade-mine-morph</link><guid isPermaLink="true">https://yusufcengiz.hashnode.dev/your-toast-notifications-fade-mine-morph</guid><category><![CDATA[JavaScript]]></category><category><![CDATA[React]]></category><category><![CDATA[Svelte]]></category><category><![CDATA[webdev]]></category><category><![CDATA[Open Source]]></category><dc:creator><![CDATA[Yusuf Cengiz]]></dc:creator><pubDate>Sat, 14 Nov 2026 16:46:51 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6af88f66eac6df2a260d2f5d/f1f5890e-0138-40b0-b4f0-d916853d5563.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Most toasts just fade in and out. Ding morphs between states with real spring physics: a loading toast turns into success, in place.</p>
<p>I built Ding because stacked notifications felt noisy. Fire three toasts and you get three boxes piling up. In Ding, <strong>one toast stays on screen, and a new call morphs it.</strong> Size, shape and text move on a spring solver, so if you interrupt an animation it keeps its momentum instead of jumping.</p>
<h2>Try it</h2>
<pre><code class="language-javascript">npm i @yusufceng1z/ding-react
</code></pre>
<pre><code class="language-tsx">import { Toaster, toast } from '@yusufceng1z/ding-react';

&lt;Toaster position="top-center" /&gt;

toast.promise(save(), {
  loading: 'Saving…',
  success: 'Saved',
  error: 'Could not save',
});
</code></pre>
<p>The loading toast turns into the result without moving. There are matching packages for Svelte 5, Vue 3 and plain JavaScript.</p>
<h2>Good to know</h2>
<ul>
<li>Zero dependencies, and no stylesheet to import.</li>
<li>Errors with a button stay on screen when another toast arrives.</li>
<li>Light, dark and system themes, and colors are CSS variables.</li>
<li>Accessible by default, with <code>prefers-reduced-motion</code> support.</li>
</ul>
<p>Demo and docs: <a href="https://ding.yusufcengiz.dev">https://ding.yusufcengiz.dev</a> Source: <a href="https://github.com/YusufCeng1z/ding">https://github.com/YusufCeng1z/ding</a></p>
<p>Feedback is welcome, especially what feels wrong.</p>
]]></content:encoded></item></channel></rss>