#
Carousel
This is a horizontal scroll carousel with left and right buttons
React / Next.js
Carousel
Carousel is a scrollable horizontal container with optional scroll button control.
| Prop | Description | Value(s) |
|---|---|---|
| `scrollNumber` | Number of pixels to scroll on left or right click. | `number | default: 320` |
| `gap` | Set a gap between each item. | `number | default: 0.5` |
| `showDashes` | Show the dashes below the carousel. | `boolean | default: true` |
| `children` | Elements to render inside the scrollable carousel. | `ReactNode (required)` |