
Liquid Glass Cursor
Cursor
A circular carousel effect that rotates visual items into focus for campaigns, portfolios, testimonials, and feature highlights.
Circular Slider gives scroll a circular rhythm. Each item rotates into attention before making room for the next.
Use Circular Slider when visual browsing needs a stronger mechanic than a plain slider. Portfolio pages, product visuals, and campaign galleries can use it when rotation reinforces the art direction. The page job is motion identity: the way items move becomes part of the brand surface.
In production, the risk is control clarity. Rotation must not hide the active slide, disorient keyboard users, or autoplay important content past the visitor.
import CircularSlider from '@/components/effects/circular-slider' const Page = () => { return ( <><CircularSlider/> </> )} export default PageA portfolio page using a circular visual system: Circular Slider makes the browsing mechanic match the brand geometry. The outcome is motion identity: the interaction feels designed into the system, not attached later.
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 |
|---|---|---|---|
showBottomText | boolean | true | Shows or hides the bottom supporting text. |
verticalOffset | number | 0 | Moves the whole slider wheel up (negative) or down (positive), in vh. |
gap | number | 24 | Additional spacing between cards along the wheel arc. |
cardWidth | number | 320 | Desktop width of each orbiting card in pixels. |
cardHeight | number | 360 | Desktop height of each orbiting card in pixels. |
cardColorCount | number | 5 | How many card background colors to cycle through the cards (1 to the number of cards). |
cardColor1 | string | #655A7C | Card background color 1. |
cardColor2 | string | #AB92BF | Card background color 2. Not used when Card Color Count is 1. |
cardColor3 | string | #AFC1D6 | Card background color 3. Not used when Card Color Count is 1 or 2. |
cardColor4 | string | #CEF9F2 | Card background color 4. Not used when Card Color Count is 1 or 2 or 3. |
cardColor5 | string | #D6CA98 | Card background color 5. Not used when Card Color Count is 1 or 2 or 3 or 4. |
cardColor6 | string | #F2B5A7 | Card background color 6. Not used when Card Color Count is 1 or 2 or 3 or 4 or 5. |
textColorCount | number | 5 | How many card text colors to cycle through the cards (1 to the number of cards). |
textColor1 | string | #2A2433 | Card text color 1. |
textColor2 | string | #3D2E50 | Card text color 2. Not used when Text Color Count is 1. |
textColor3 | string | #2C3E52 | Card text color 3. Not used when Text Color Count is 1 or 2. |
textColor4 | string | #1A5C53 | Card text color 4. Not used when Text Color Count is 1 or 2 or 3. |
textColor5 | string | #4A3F1A | Card text color 5. Not used when Text Color Count is 1 or 2 or 3 or 4. |
textColor6 | string | #5C2A1F | Card text color 6. Not used when Text Color Count is 1 or 2 or 3 or 4 or 5. |
Each item rotates into attention and then makes room for the next, giving scroll a circular rhythm instead of a single entrance. The turning cadence paces the section. Use it when items should take turns holding focus.
Below 1024px wide, Circular Slider drops the wheel and renders every card in a plain stacked list with no rotation. There is no reduced-motion mode, so on desktop the wheel still rotates as you scroll.
Confirm keyboard access to every item, an accessible name and controls, and that rotation doesn't break focus order or trap the user. Add pause/rotation behavior where motion is continuous. Verify the static fallback includes all items.
A modest set of equal-weight items like testimonials, features, or shots where taking turns suits the content. It's wrong for long lists or for anything users must compare at once. Keep each item self-contained.
Avoid it when users need to see items side by side, when the set is large, or when continuous rotation would distract. If order matters and rotation obscures it, use a list. Skip it where a static grid is clearer.
Need a custom effect? Tell us what to create.