Carousel@knitui/carousel
Carousel
import { Carousel } from "@knitui/carousel";Playground
Loading playground…
<Carousel />Examples
Basic
Loading example…
Non Loop
Loading example…
Vertical
Loading example…
Multiple Per View
Loading example…
Peek Neighbours
Loading example…
Initial Index
Loading example…
Card Content
Loading example…
Autoplay
Loading example…
Autoplay Reverse
Loading example…
Fade
Loading example…
Scale
Loading example…
Parallax
Loading example…
Rotate Fan
Loading example…
Coverflow
Loading example…
Flip
Loading example…
Cube
Loading example…
Depth
Loading example…
Horizontal Stack
Loading example…
Vertical Stack
Loading example…
Stack Vertical Only
Vertical drag only; a horizontal drag is left to the page around it.
Loading example…
Stack Invert Drag
invertDrag: pull the pile DOWN for the next card, push it up to go back.
Loading example…
Stack Two Axes
One deck, one index: vertical drag = stack, horizontal drag = carousel paging.
Loading example…
Stack Inside Horizontal Carousel
Horizontal drags page the outer carousel; vertical drags move the inner stack.
Loading example…
Stack Over Map
Desktop: a fixed 320px two-axis deck over a map. Vertical wheel steps the stack, sideways wheel (trackpad / shift + wheel) pages it, and none of it reaches the map's zoom; the side buttons page with the sideways motion.
Loading example…
Stack Hotspots
A horizontal rail of map hotspots, each a vertical stack of its own length (1, 3, 7, 20, 2, 12 events). Swipe sideways to move between hotspots (the whole stack slides along); swipe up/down to go through that hotspot's events. Each stack remembers its card when you come back to it, and a card you swipe past goes under the next one, to the back of the deck (exit: "back").
Loading example…
Custom Animation
Loading example…
With Pagination
Loading example…
Pagination Basic Variant
Loading example…
Pagination Custom Variant
Loading example…
Built In Controls
Loading example…
Built In Indicators
Loading example…
Full Chrome
Loading example…
Controls Outside
Loading example…
Styles
Loading example…
Custom Chrome
Loading example…
Imperative Controls
Loading example…
Controlled Index
Loading example…
Fixed Direction
Loading example…
Large Data
Loading example…
Remote Async Data
Loading example…
Native Scroll
Loading example…
Native Scroll Free
Loading example…
Native Scroll Looping Rail
Loading example…
Native Scroll Finite
Loading example…
Native Scroll Multiple
Loading example…
Native Scroll Vertical
Loading example…
Native Scroll Paged
Loading example…
Native Scroll With Chrome
Loading example…
Props
Prop extraction did not resolve this component. Run pnpm docs:generate, or add an override in apps/docs/content/overrides/.