AppToast
The toaster: a pill that melts into a card when it has more to say. Ported from Sileo by Aaryan (MIT) onto the VueTail tokens and the useToast store. Expressive by default; tone surface, expand always and progress make it a quiet card for formal apps. The goo comes from one SVG filter over two shapes; the stack moves on transforms; the shapes draw through AppBlob and spring on --vt-morph-duration, bouncing only where the preset says so (--vt-morph-bounce, .25 in Pine). It reads every toast once through the shared live regions, and every control is a real button.
Install: pnpm add-component AppToast
Playground
The pill carries the title (or the message when there is no title). The description, or the message under a title, and the action open out of it. Hover, focus or click the pill to hold it open; Escape or a short swipe dismisses. promise() morphs the loading pill into its outcome.
API
toasts(Toast[]): The queue from useToast.position('top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'): Where toasts stack. A toast with its own position gets its own region.expand('auto' | 'hover' | 'always'): When a toast with more to say opens: on its own and while held; only while hovered, focused or clicked; or always, a card from the start that never folds.tone('inverse' | 'surface'): inverse: the page's text colour as the fill (ink on Ink, pine on Pine, light in dark). surface: a raised surface with a border and the card's status colours.progress(boolean): A hairline countdown along the bottom of what is showing, frozen while the toast is held.autopilot(false | { expand?: number; collapse?: number }): Timing for expand auto: a toast with more to say opens expand ms after it appears and folds collapse ms before it leaves. A toast may override it.label(string): Name of the toast region. Give a second toaster on the same page its own.