
Helix Slider
Scroll
A lightweight slider that uses angled rotation between slides for campaign visuals, product shots, and energetic visual sequences.
Rotation Slider uses angle instead of distance. It makes a transition feel designed by turning each card in 3D perspective.
Use Rotation Slider when directional rotation should create momentum between slides. Campaign galleries and product visuals are the strongest fit because the motion can make transitions feel graphic and intentional. The page job is energy: the next visual should arrive with force without obscuring controls.
The thing to watch is rotational exaggeration. Too much angle or duration makes the slider harder to track, especially on mobile or reduced-motion settings.
import RotationSlider from "@/components/effects/rotation-slider"; export default function Page() { return ( <> <RotationSlider /> </> );} A launch campaign presenting a short visual sequence: Rotation Slider gives each transition a directional turn that matches the campaign art. The outcome is energy: the sequence feels active without needing autoplay.
Not for task-heavy pages or large visual sets where angled transitions slow evaluation.
Not for sections where the transition has more personality than the content.
Animate transform and opacity, avoid layout reads in scroll handlers, pre-size media, and clean up timelines/listeners when the route changes
The animated sequence must match DOM order. On mobile, replace pinned or horizontal mechanics with stacked sections, native swipe, or static cards.
| Prop | Type | Default | Description |
|---|---|---|---|
rotationAmount | number | 1 | How far each card rotates as it scrolls past. |
verticalDrift | number | 1 | How far each card drifts vertically as it scrolls past. |
scrollSmoothing | number | 1 | Scroll lag on the track; higher is smoother. |
perspective | number | 1200 | Perspective depth in pixels; lower looks deeper. |
showCaptions | boolean | true | Shows the text caption overlay on each card. |
textColor | color | #ffffff | Color of the card caption text. |
It transitions slides by angle rather than distance, so the change feels designed. Each card turns on rotateY and rotateX inside a CSS perspective, so the rotation is genuinely 3D, built on plain DOM transforms. Use it when you want a crafted transition that stays lightweight.
Reduce the rotation angle or switch to a simple swipe so the motion doesn't disorient on a small screen. Keep slide content readable throughout. With reduced motion the rotation is cut to 15%, the perspective flattens to 4800px, and the track follows scroll without smoothing lag.
Confirm rotated slides don't clip or overflow, that focus follows slide order, and that the transition reads cleanly at each breakpoint. Test the angle on real content, not placeholders. There is no non-rotating fallback built in, so check the reduced-motion version too.
A short slide set where a directional, angled transition adds character — campaign frames or product angles. It's wrong for text-heavy or comparison content. Keep slides visual and concise.
Avoid it where rotation would hurt legibility, on dense content, or where users need fast scanning. If the angle is decorative with no purpose, drop it. Skip it on utility routes.
Need a custom effect? Tell us what to create.