Updated
Fan Carousel
ProCustomize
Arc60°
Speed0.30/s
Blur8px
Fade25%
Blur span25%
Card width152px
Gap28px
Installation
ProFan Carousel is a Pro component
Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.
Install with a key
- Add the Pro registry to
components.json:components.json { "registries": { "@uibrik-pro": { "url": "https://uibrik.com/r/pro/{name}.json", "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" } } } } - Put your key in
.env.localand add that file to.gitignore:.env.local UIBRIK_LICENSE=your-license-key - Install it:
Terminal npx shadcn@latest add @uibrik-pro/fan-carousel
Loading your installation…
Usage
import { FanCarousel } from "@/components/uibrik/fan-carousel/fan-carousel";const cards = [ { src: "/registry/fan-carousel/rose-dunes.webp", alt: "Soft rose-coloured dunes" }, { src: "/registry/fan-carousel/dune-ridge.webp", alt: "A dune ridge fading into haze" }, // …3 more];<FanCarousel arc={60} speed={0.3} blur={8} fade={25} blurSpan={25} cardWidth={152} gap={28} cards={cards}/>Where to use Fan Carousel
Template showcases
Cards drifting around an arch show a large collection without paging.
Looping hero galleries
Both sides dissolve into the background, so the loop never shows a seam.
Pairs with Marquee
Portfolio highlights
An endless arch of work keeps a hero moving while the headline stays still.
Props
FanCarousel- arc
- Type number
- 60
- Half-angle of the arch. Cards are fully out of view by here.
- speed
- Type number
- 0.3
- Cards that pass the top every second.
- blur
- Type number
- 8
- Blur of a card as it dissolves at either side.
- fade
- Type number
- 25
- Share of the width, per side, that dissolves into the background.
- blurSpan
- Type number
- 25
- Share of the width, per side, over which the blur builds up.
- cardWidth
- Type number
- 152
- Card width. Height follows at 4:5.
- gap
- Type number
- 28
- Space between neighbouring cards along the arch. Negative overlaps them.
- cards
- Type { src: string; alt: string }[]
- 5 sample cards
- The cards, in order. They repeat to fill the arch.
- className
- Type string
- –
- Classes for the wrapper.




