YYonda UI Docs

SocialProofToast

Bottom-left slide-in notification surfacing recent bookings for conversion lift. Presentational: parent controls open state, timing, and queueing across multiple messages. Uses role='status' with aria-live='polite' so it's announced without stealing focus.

Toast appears bottom-left of the viewport. Auto-hides after 8000ms.

Fast dismiss (3s)

autoHideMs controls the auto-dismiss timer. Pass 0 to disable.

Toast appears bottom-left of the viewport. Auto-hides after 3000ms.

Usage notes

  • — Presentational only. Wire the queueing loop (fetch bookings, rotate through them) in a parent client component or hook.
  • — Fallback icon is the success checkmark when no imageUrl is supplied, or when the image errors.
  • — Only one toast should be rendered at a time. The parent should debounce/queue across the notification list.
  • — Slide-in from the left, matches the legacy Yonda pattern. On small viewports it hugs the left edge with a 1rem gutter.