Letters with personality
Each letter jumps into the bin before the pill collapses into a loading circle.
Component 026Buttons
Two playful delete buttons swallow their letters into a hungry bin, then celebrate success or spit the word back out.
Quick start
Save hungry-delete.tsx in your components folder, then import it below. Requires React and Tailwind CSS.
import HungryDelete from "@/components/ui/hungry-delete";
export default function Example() {
return <HungryDelete />;
}Behind the interaction
Each letter jumps into the bin before the pill collapses into a loading circle.
The black button completes its action; the blue button demonstrates failure and recovery.
Connect an asynchronous callback to your own action, with pending, success, and failure feedback.
Keep exploring
A bright pill folds into a road as a little delivery truck loads up, rolls off with its headlight on, and the button returns with a drawn checkmark.
A complete-order button becomes a miniature delivery scene, loading a parcel and driving into a checked success state.
Micro-interaction Nº 02