leecade/react-native-swiper is a Frontend project on GitHub, written primarily in JavaScript. It has 10.5k stars. The best Swiper component for React Native.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Add containerStyle prop to customize the view container.
[1.5.5]
Update: using PropTypes from prop-types and Change View.propTypes to ViewPropTypes
[1.5.4]
Added easily accessible pagination point manipulation: use dotColor / activeDotColor and dotStyle / activeDotStyle (thanks @denizs)
Added scrollEnabled prop to documentation (thanks @ibandominguez)
[1.5.3]
Add loadMinimalLoader prop to customize <ActivityIndicator /> (thanks @Exilz)
Disable autoplay timer when prop changes to false (thanks @dizlexik)
Special thanks to @hypatiah for fixed some grammatical errors in README
[1.5.2]
Add yarn lock
Fix jitter when quickly swiping back and forth between pages (iOS) (thanks @nemophrost)
The first webview always reloaded when injecting the rest of the children (thanks @eosterberg)
see more: CHANGELOG.md
Show Cases
Try these cases by yourself very easy, Just open examples/ios/swiper.xcodeproj in Xcode, then press Cmd + R; you may edit examples/index.ios.js for switch cases.
If true, the scroll view's children are arranged horizontally in a row instead of vertically in a column.
loop
true
bool
Set to false to disable continuous loop mode.
index
0
number
Index number of initial slide.
showsButtons
false
bool
Set to true make control buttons visible.
autoplay
false
bool
Set to true enable auto play mode.
onIndexChanged
(index) => null
func
Called with the new index when the user swiped
Custom basic style & content
Prop
Default
Type
Description
width
-
number
If no specify default enable fullscreen mode by flex: 1.
height
-
number
If no specify default fullscreen mode by flex: 1.
style
{...}
style
See default style in source.
containerStyle
{...}
style
See default container style in source.
loadMinimal
false
bool
Only load current index slide , loadMinimalSize slides before and after.
loadMinimalSize
1
number
see loadMinimal
loadMinimalLoader
<ActivityIndicator />
element
Custom loader to display when slides aren't loaded
Pagination
Prop
Default
Type
Description
showsPagination
true
bool
Set to true make pagination visible.
paginationStyle
{...}
style
Custom styles will merge with the default styles.
renderPagination
-
function
Complete control how to render pagination with three params (index, total, context) ref to this.state.index / this.state.total / this, For example: show numbers instead of dots.
If this parameter is not specified, will not render the title.
Basic props of <ScrollView />
Prop
Default
Type
Description
horizontal
true
bool
If true, the scroll view's children are arranged horizontally in a row instead of vertically in a column.
pagingEnabled
true
bool
If true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination.
showsHorizontalScrollIndicator
false
bool
Set to true if you want to show horizontal scroll bar.
showsVerticalScrollIndicator
false
bool
Set to true if you want to show vertical scroll bar.
bounces
false
bool
If true, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction. If false, it disables all bouncing even if the alwaysBounce* props are true.
scrollsToTop
false
bool
If true, the scroll view scrolls to top when the status bar is tapped.
removeClippedSubviews
true
bool
If true, offscreen child views (whose overflow value is hidden) are removed from their native backing superview when offscreen. This canimprove scrolling performance on long lists.
automaticallyAdjustContentInsets
false
bool
Set to true if you need adjust content insets automation.
Makes no sense why this occurs first during bounce
onTouchStartCapture
e / state / context
function
Immediately after onMomentumScrollEnd
onTouchStart
e / state / context
function
Same, but bubble phase
onTouchEnd
e / state / context
function
You could hold the touch start for a long time
onResponderRelease
e / state / context
function
When lifting up - you could pause forever before * lifting
Note: each ScrollResponder be injected with two params: state and context, you can get state and context(ref to swiper's this) from params, for example:
Then launch simulator to preview. Note that you just need to edit the source file src/index.js, the change will auto sync to examples.
After development, you should add test for your modification and make all tests passed to prevent other contributors break the feature in the future accidentally. We use detox + jest for e2e test now, you can read Detox for more detail.
Contribution
@leecade The main author.
@rajkissu The secondary contributor.
Questions
Feel free to contact me or create an issue
Inspired by nolimits4web/Swiper & Design material from Dribbble & made with ♥.
How active is development on leecade/react-native-swiper?
The most recent commit recorded on leecade/react-native-swiper was 9 months ago, based on the GitHub push timestamp. The repository has 2.3k forks — one of the better signals of community interest.
How does leecade/react-native-swiper compare to other Frontend projects?
leecade/react-native-swiper is tracked by TopGit in the Frontend category, with 10.5k GitHub stars and written in JavaScript. Browse the Frontend topic page on TopGit to compare it against similar projects by stars and activity.
How many stars does leecade/react-native-swiper have?
leecade/react-native-swiper has 10.5k GitHub stars — refresh the page for the live number, or check github.com/leecade/react-native-swiper. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is leecade/react-native-swiper open source?
Yes — leecade/react-native-swiper ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/leecade/react-native-swiper.
What is leecade/react-native-swiper?
leecade/react-native-swiper (leecade/react-native-swiper) is a JavaScript project on GitHub. From the project's own README: The best Swiper component for React Native.
Where do I read more about leecade/react-native-swiper?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/leecade/react-native-swiper is the definitive source.
Read full README in the tab above.
Curious whether react-native-swiper is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about react-native-swiper.