You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2025. It is now read-only.
We are on a very excited journey towards version 3.0 of this component which will be rewritten in hooks/context completely. It means smaller bundle size, performance improvement and easier customization of the component and so many more benefits.
33
+
34
+
It would mean so much if you could provide help towards the further development of this project as we do this open source work in our own free time especially during this covid-19 crisis.
35
+
36
+
If you are using this component seriously, please donate or talk to your manager as this project increases your income too. It will help us make releases, fix bugs, fulfill new feature requests faster and better.
37
+
38
+
[Become a backer/sponsor](https://opencollective.com/react-multi-carousel) to get your logo/image on our README on Github with a link to your site.
39
+
29
40
### Features.
30
41
31
42
- Server-side rendering
@@ -111,20 +122,20 @@ const responsive = {
111
122
superLargeDesktop: {
112
123
// the naming can be any, depends on you.
113
124
breakpoint: { max:4000, min:3000 },
114
-
items:5,
125
+
items:5
115
126
},
116
127
desktop: {
117
128
breakpoint: { max:3000, min:1024 },
118
-
items:3,
129
+
items:3
119
130
},
120
131
tablet: {
121
132
breakpoint: { max:1024, min:464 },
122
-
items:2,
133
+
items:2
123
134
},
124
135
mobile: {
125
136
breakpoint: { max:464, min:0 },
126
-
items:1,
127
-
},
137
+
items:1
138
+
}
128
139
};
129
140
<Carousel responsive={responsive}>
130
141
<div>Item 1</div>
@@ -144,18 +155,18 @@ const responsive = {
144
155
desktop: {
145
156
breakpoint: { max:3000, min:1024 },
146
157
items:3,
147
-
slidesToSlide:3,// optional, default to 1.
158
+
slidesToSlide:3// optional, default to 1.
148
159
},
149
160
tablet: {
150
161
breakpoint: { max:1024, min:464 },
151
162
items:2,
152
-
slidesToSlide:2,// optional, default to 1.
163
+
slidesToSlide:2// optional, default to 1.
153
164
},
154
165
mobile: {
155
166
breakpoint: { max:464, min:0 },
156
167
items:1,
157
-
slidesToSlide:1,// optional, default to 1.
158
-
},
168
+
slidesToSlide:1// optional, default to 1.
169
+
}
159
170
};
160
171
<Carousel
161
172
swipeable={false}
@@ -194,7 +205,7 @@ You custom arrows will receive a list of props/state that's passed back by the c
0 commit comments