Testimonial Stack

Social-post testimonial cards fly in one by one and pile up, with a highlighted line on each. A free, MIT-licensed Remotion social video animation.

Installation
$ pnpm dlx shadcn@latest add @remocn/testimonial-stack

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { TestimonialStack } from "@/components/remocn/testimonial-stack";
 
const TestimonialStackScene = () => (
  <TestimonialStack
    quotes={[
      {
        text: "We shipped our launch video in an afternoon.",
        highlight: "in an afternoon",
        name: "Maya Chen",
        role: "Founder, Kitebase",
        handle: "@mayachen",
        source: "x",
      },
    ]}
  />
);
 
export const RemotionRoot = () => (
  <Composition
    id="TestimonialStack"
    component={TestimonialStackScene}
    durationInFrames={236}
    fps={30}
    width={1280}
    height={720}
  />
);

Each quote card slides in from alternating sides and lands on a growing, slightly rotated pile; the highlighted phrase is marked inside the text. With ending="fan" the pile then spreads into a grid under a title (the fan adds about 60 frames). Pass quotes with name, role and optional handle, stars and highlight. Ships light and dark via theme.

The ground is a live gradients.sh shader (GshGround), installed with the component as @remocn/gsh. Pick another look with the ground preset prop.

Props16

PropTypeDefault
quotes
TestimonialQuote[]DEFAULT_QUOTES

Quote cards: text, name, role, plus optional highlight, handle, stars, date, source.

ending
"pile" | "fan""pile"

How the stack ends: stay as a pile, or fan out into a grid.

title
string"What builders said after launch week"

Heading shown over the grid when `ending` is "fan".

theme
"light" | "dark""light"

Color scheme. Ships light and dark.

speed
number1

Playback speed multiplier for the whole timeline.

framesPerQuote
number50

Frames between each card landing.

radius
number20

Corner radius of the cards, in px.

tilt
number1

Rotation of the piled cards; 0 lays them straight.

ink
string—

Text color of the cards and title; overrides the theme ink.

background
string—

Solid fill in place of the gradient ground; pass "transparent" to drop it.

fontFamily
string"Instrument Sans"

Typeface for the copy. Load the font in your project first.

scale
number1

Size of the foreground around the frame's center; the background stays put.

delay
number0

Frames to hold the first frame before anything moves.

ground
GshPresetId—

gradients.sh preset id for the animated ground.

groundParams
Partial<GradientParams>—

Overrides for the ground shader parameters.

accent
string—

Accepted for API consistency; the color comes from the ground.

  • quotesTestimonialQuote[]

    Quote cards: text, name, role, plus optional highlight, handle, stars, date, source.

    DefaultDEFAULT_QUOTES

  • ending"pile" | "fan"

    How the stack ends: stay as a pile, or fan out into a grid.

    Default"pile"

  • titlestring

    Heading shown over the grid when `ending` is "fan".

    Default"What builders said after launch week"

  • theme"light" | "dark"

    Color scheme. Ships light and dark.

    Default"light"

  • speednumber

    Playback speed multiplier for the whole timeline.

    Default1

  • framesPerQuotenumber

    Frames between each card landing.

    Default50

  • radiusnumber

    Corner radius of the cards, in px.

    Default20

  • tiltnumber

    Rotation of the piled cards; 0 lays them straight.

    Default1

  • inkstring

    Text color of the cards and title; overrides the theme ink.

  • backgroundstring

    Solid fill in place of the gradient ground; pass "transparent" to drop it.

  • fontFamilystring

    Typeface for the copy. Load the font in your project first.

    Default"Instrument Sans"

  • scalenumber

    Size of the foreground around the frame's center; the background stays put.

    Default1

  • delaynumber

    Frames to hold the first frame before anything moves.

    Default0

  • groundGshPresetId

    gradients.sh preset id for the animated ground.

  • groundParamsPartial<GradientParams>

    Overrides for the ground shader parameters.

  • accentstring

    Accepted for API consistency; the color comes from the ground.