
Split-Flap Display
A ceramic and graphite split-flap device that ripples each flap into your message.
A React card stack carousel on Framer Motion: each photo drops out below the pile, slips behind it and rises to the back.
Card Stack Carousel is a React and Tailwind CSS stacked card carousel that flips through a loose pile of photo prints, in Next.js or any React app, built on Framer Motion. On next, the top print drops out below the pile, slips behind it once it is fully clear, and rises into the back slot while the rest shuffle forward. Previous runs the same path in reverse. Autoplay waits for your delay and rests while the stack is off screen or the tab is hidden. Arrow keys work once the stack has focus, and reduced motion swaps prints instantly.
Run the following command
pnpm dlx wensity@latest add stack-reveal
npx wensity@latest add stack-reveal
yarn dlx wensity@latest add stack-reveal
bunx wensity@latest add stack-reveal
Import StackReveal from @/components/wensity/stack-reveal and render it anywhere in your React or Next.js app. The source lands in your own repo, so every prop, class and animation below is yours to edit.
import {StackReveal,type StackRevealCard,} from "@/components/wensity/stack-reveal";const photo = (name: string) =>`https://assets.wensity.com/photos/architecture-interiors/${name}.webp`;const cards: StackRevealCard[] = [{id: "pool-villa",src: photo("mediterranean-pool-villa"),alt: "White villa with an olive tree beside a pool above the sea",label: "Pool villa",},{id: "forest-glass-house",src: photo("forest-glass-house"),alt: "Glass house lit from inside in a misty pine forest",label: "Forest glass house",},{id: "desert-house",src: photo("desert-concrete-house"),alt: "Low concrete house in the desert at sunset",label: "Desert house",},{id: "night-pavilion",src: photo("night-glass-pavilion"),alt: "Long glass pavilion glowing over still water at night",label: "Night pavilion",},{id: "water-courtyard",src: photo("concrete-water-courtyard"),alt: "Concrete courtyard with a bonsai on a pool of still water",label: "Water courtyard",},];export default function Example() {return (<StackRevealcards={cards}width={520}height={330}delay={5000}title="Houses that hold the light"description="A pile of prints from five quiet houses. Flip through them, and each one tucks back under the stack."/>);}
| Prop | Type | Default | Description |
|---|---|---|---|
cards | StackRevealCard[] | Houses set | Photo prints in the pile. Each takes src, alt, label and objectPosition. |
title | string | "Houses that hold the light" | Headline shown beside the pile. |
description | string | - | Supporting copy under the title. |
width | number | 520 | Width of each print, in px. The pile scales down to fit narrower columns. |
height | number | 330 | Height of each print, in px. |
cardDistance | number | 56 | How far back prints spread to the sides, in px. |
verticalDistance | number | 62 | How far back prints peek above the top one, in px. |
skewAmount | number | 6 | Tilt of the prints in the pile, in degrees. |
delay | number | 5000 | Time between automatic moves, in ms. |
autoplay | boolean | true | Moves to the next print on a timer. Rests while off screen or the tab is hidden. |
pauseOnHover | boolean | false | Optional. Pauses autoplay while the cursor is over the component. |
controls | boolean | true | Shows the previous and next buttons, counter and caption. |
easing | "elastic" | "linear" | "elastic" | Motion of the pile. elastic = spring with no overshoot; linear = eased glide. |
dropDistance | number | Measured | How far below the pile the moving print drops, in px. Measured from the card size by default. |
onCardClick | (idx: number) => void | - | Fires when a print is clicked. |

A ceramic and graphite split-flap device that ripples each flap into your message.

A 3D Earth lit day and night from the real sun position, wrapped in a soft atmosphere, with smooth drag-to-orbit controls.

Inline or toggled code diffs rendered inside the same polished code block frame, flipping between before and after.

A terminal UI with self-typing commands, CRT phosphor glow and scanlines, streaming output that never re-renders a line.
Featured in React carousel components.