← All products

Component

Hang Tight Toast

A notification card that drops in on two elastic cords, bounces to a stop, and snaps free with a swing when you dismiss it.

Most toasts slide in and fade out. This one has weight. A new notification falls from the top of the screen, two cords catch it, and it bounces on them before settling. Press Got it and the left cord snaps: the card swings on the right one, the second cord gives way, and it tumbles off the screen while the cut ends whip back like real rope. Grab the card and tug it on its cords, flick a pointer across it to set it swinging, or pull hard enough and the cords break.

Use it for payment confirmations, upload and deploy notices, storage warnings, comments, or any message that should feel like it arrived. It is plain HTML, CSS and JavaScript with no dependencies. The motion comes from a tiny rigid-body simulation (gravity, two damped springs and verlet ropes) that only animates transform, sleeps when nothing moves, and has every constant exposed for tuning. It is fully keyboard-usable (N to notify, Esc or the Got it button to dismiss), announces each message to screen readers, and switches to a plain fade under prefers-reduced-motion. Messages, tones and colours are all set in one place.