← Blurr Motion testimonial-stacking-quotes-specimen
Categorie testimonials Tier 1 Techniek #7 Deps gsap
"Design is intent made visible."
"Motion is the breath of interface."
"Great work moves."
1. Mechanisme — kopieer 1-op-1, geen styling-keuzes
// Mechanisme: testimonial-stacking-quotes-specimen
import gsap from 'https://esm.sh/[email protected]';
// Pas toe op je eigen selector — geen stijlkeuzes hier.
import gsap from 'https://esm.sh/[email protected]';
import{ScrollTrigger}from 'https://esm.sh/[email protected]/ScrollTrigger';
gsap.registerPlugin(ScrollTrigger);
if(window.matchMedia('(prefers-reduced-motion: reduce)').matches)return;
const TRANS_DUR=1.6, TRANS_EASE='expo.out', STAGGER=0.09, CYCLE_S=4;
gsap.utils.toArray('.stack-card').forEach((c,i)=>gsap.fromTo(c,{scale:0.94,autoAlpha:0},{scale:1,autoAlpha:1,duration:TRANS_DUR,ease:TRANS_EASE,scrollTrigger:{trigger:c,start:'top 80%',once:true},delay:i*STAGGER}));
2. Skeleton — DOM + class-namen, mag herschikken
<!-- Skeleton: testimonial-stacking-quotes-specimen -->
<div class="demo-block">
  <!-- DOM-structuur hier -->
</div>
3. Styling-template — verplicht eigen invulling per merk
/* Styling: testimonial-stacking-quotes-specimen */
:root {
  --block-bg: ;
  --block-fg: ;
  --block-accent: ;
}