Skip to content
R

react-native-page-control

React native page control, like ios UIPageControl

by silentcloudFree

#1190in UI Libraries
0In stores

Description

react-native-page-control is a page control for React Native that looks and behaves like the iOS UIPageControl, and its API matches it. A pa…

Highlights

  • Page dots for React Native, like UIPageControl
  • Number of pages and current page props
  • Hide when there is only one page
  • Custom colors and indicator styles
  • Tap a dot with onPageIndicatorPress

Ratings & Reviews

No ratings yet

Be the first to rate react-native-page-control.

People also visit

R

react-native-step-indicator

A simple react-native implementation of a step indicator widget compatible

UI Libraries
Launch
P

@ptomasroos/react-native-multi-slider

Android and iOS supported pure JS slider component

UI Libraries
Launch
R

react-native-app-intro-slider

Simple and configurable app introduction slider for react native

UI Libraries
Launch
R

react-native-slider

A pure JavaScript <Slider /> component for react-native

UI Libraries
Launch
R

react-native-swiper

Swiper component for React Native

UI Libraries
Launch
R

react-paginate

A ReactJS component that creates a pagination

UI Libraries
Launch

react-native-page-control FAQ

What is react-native-page-control?

A page control for React Native whose API matches the iOS UIPageControl.

Which prop is required?

numberOfPages is required. Its default is 0, and currentPage defaults to 0.

Can I hide it for a single page?

Yes. Set hidesForSinglePage to true, and the control is hidden when there is only one page.

Can I set the colors?

Yes. pageIndicatorTintColor sets the dots, and currentPageIndicatorTintColor sets the current dot.

Can the dots respond to taps?

Yes. onPageIndicatorPress receives the index of the pressed dot.

What are the best react-native-page-control alternatives?

Popular alternatives to react-native-page-control include react-native-step-indicator, @ptomasroos/react-native-multi-slider and react-native-app-intro-slider. See all react-native-page-control alternatives

Developer Stuff

Badges