Skip to content

Social-Proof Toast

A small, credible social-proof toast that rotates short lines on an interval — marketing psychology done with restraint, the opposite of spammy fake “someone just bought!!” urgency.

src/components/growth/SocialProofToast.tsx · live demo: /components/social-proof-toast

---
import SocialProofToast from '../components/growth/SocialProofToast.tsx';
---
<SocialProofToast
client:idle
messages={[
'Built one-on-one by Aiden Wood — 15 years full-stack.',
'Trusted by trades, clinics, realty and hospitality.',
]}
/>
PropTypeDefaultDescription
enabledbooleantrueMaster switch.
messagesstring[]Lines to rotate through.
startDelayMsnumber6000Delay before the first toast.
intervalMsnumber8000Window each message shows for.
maxShowsnumber4Stop after this many rotations.
excludePathsstring[]checkout/contact/…Path prefixes to suppress on.
forceVisiblebooleanfalseShowcase/demo only — skip delay + gating.

Slides in bottom-left after startDelayMs, rotates through messages, stops after maxShows. Pauses while hovered/focused or the tab is hidden so a message never vanishes mid-read. Dismissible (session-remembered, velocity.socialproof.dismissed). Skips excludePaths.

Fires social_proof_shown with { message, index, show_number } on each reveal.

role="status" + aria-live="polite" (no focus trap), visible dismiss, dark-mode + safe-area aware. Copy rule: keep lines short, true, and on the premium voice — never invent fake purchases or real-time names.