Warp Slider
A smooth, infinite slider with dynamic warp distortion and momentum based scrolling.
Orion
01/10
Installation
Usage
import { WarpSlider } from "@/components/warp-slider";Define your slides array with name and image URL.
const slides = [
{
name: "Slide 1",
img: "/image-url",
},
{
name: "Slide 2",
img: "/image-url",
},
];<WarpSlider slides={slides} />Examples
Horizontal
Orion
01/10
Update the orientation property in the config object to "horizontal".
<WarpSlider slides={slides} config={{ orientation: "horizontal" }} />