A lightweight React Native component for displaying dot-based pagination indicators.
react-native-dots-pagination is a React Native library that provides a dot-based pagination indicator component. It allows developers to visually indicate the current position within a set of pages or slides, such as in onboarding screens or image carousels. The component is highly customizable, letting you adjust dot sizes, colors, spacing, and layout to match your app's design.
React Native developers building mobile apps that require pagination indicators, such as onboarding flows, image galleries, tutorials, or any multi-step content.
Developers choose this library for its simplicity, lightweight footprint, and extensive customization options. It offers a straightforward API with no unnecessary dependencies, making it easy to integrate and style according to specific design requirements.
A simple dot paging for React Native.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
The component has no unnecessary dependencies, focusing solely on dot pagination to keep bundle size small, as emphasized in the project philosophy.
Offers extensive props like dot sizes, colors, spacing, and layout controls, allowing precise design matching, as detailed in the README's props table.
With a simple API requiring only `length` and `active` props, setup is quick and straightforward, demonstrated in the Quickstart example.
Includes an `onScrollTo` callback that triggers when the active index changes, enabling custom logic for pagination events, as noted in the props.
Only supports dot-based indicators and lacks advanced features like animations, gesture controls, or alternative indicator styles, which might require additional libraries.
The README is brief and primarily lists props without examples for complex use cases or troubleshooting, potentially hindering deeper integration.
Unlike some UI libraries, it doesn't provide pre-defined themes or styles, requiring developers to manually customize every aspect, increasing setup time.