TarotCarousel
A 3D card carousel where every card turns on one shared rotation — like cards on a single drum, at different points in the same turn.
About this component
A full-bleed Framer code component that presents a deck of portrait cards in perspective. One card faces the viewer; its neighbours sit face-down at the edges, leaning toward the lens. Advancing the deck turns every card through the same continuous rotation — passing 90° is what swaps front for back, so there is no separate "flip" animation that can drift out of sync with the movement.
Single file, no dependencies, nothing to install. Paste it into a code file in Framer and drag it onto the canvas.
The component was built as a pixel-exact port of a standalone HTML build; both are verified identical at 0 differing pixels at 1899 and 700 wide.
Key features
One shared rotation — position and face are a single angle, odd in a card's distance from centre (−1 → +180°, 0 → 0°, +1 → −180°). Every card turns the same direction as the deck advances.
No separate flip — passing 90° is what swaps front for back, so the turn can never drift out of sync with the movement.
Scrubbable — the turn is a function of deck position, not a timed transition. Drag slowly and the card turns under your finger; stop halfway and it holds; reverse and it turns back.
Hand-dealt resting angles — no card sits upright. Direction alternates strictly (right, left, right); only magnitude is dealt from a seed, stable for the session.
Overlap-proof at any frame shape — the neighbour spread has a floor expressed in card widths, using the tilt-inflated extent (
w·cos + h·sin). Verified across 13 sizes from 1920×1080 down to 360×640.Six ways in — drag/swipe, arrow buttons, arrow keys, wheel/trackpad, click a neighbour, autoplay.
Gesture-aware scrolling — wheel deltas accumulate into a gesture, a 220 ms pause ends it, and the next turn can't start until the current one finishes easing.
Canvas-safe — drag, keyboard, wheel and autoplay are disabled on the Framer canvas. Honours
prefers-reduced-motion.Single file, zero dependencies — paste and drag.
Pixel-exact to the HTML build — 0 differing pixels at 1899 and 700 wide.
If you want to see the API references and all that, please click here.
View API reference
Details
Category
Carousel
Media
Image
Views
132
Copies
134
Paste directly onto your Framer canvas.

