parallax slider
Learn how to use the parallax slider component in your project.
Preview
Component preview
Installation
Terminal
npm install@react-overflow/parallax-slider
Usage
component.tsx
import{ParallaxSlider}from'@react-overflow/parallax-slider';export default functionExample() {return<ParallaxSlider/>}
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | - | Additional CSS classes |
| children | ReactNode | - | Component children |
| variant | "default" | "outline" | "default" | Visual variant of the component |