{"id":4365,"url":"https://github.com/yasaricli/react-native-dots-pagination","last_synced_at":"2025-07-11T00:10:21.811Z","repository":{"id":54665412,"uuid":"200396520","full_name":"yasaricli/react-native-dots-pagination","owner":"yasaricli","description":"A simple dot paging for React Native.","archived":false,"fork":false,"pushed_at":"2023-09-09T06:31:06.000Z","size":4988,"stargazers_count":136,"open_issues_count":6,"forks_count":36,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-08-03T11:01:28.238Z","etag":null,"topics":["dots","pagination","react","react-native"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-native-dots-pagination","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yasaricli.png","metadata":{"files":{"readme":"README.md","changelog":"History.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-08-03T16:21:18.000Z","updated_at":"2024-07-08T08:37:46.000Z","dependencies_parsed_at":"2023-02-17T20:46:03.042Z","dependency_job_id":"f16cfc1e-7eaa-47ee-8e19-1f7c51e619ed","html_url":"https://github.com/yasaricli/react-native-dots-pagination","commit_stats":null,"previous_names":["tsepeti/react-native-dots-pagination"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasaricli%2Freact-native-dots-pagination","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasaricli%2Freact-native-dots-pagination/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasaricli%2Freact-native-dots-pagination/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasaricli%2Freact-native-dots-pagination/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yasaricli","download_url":"https://codeload.github.com/yasaricli/react-native-dots-pagination/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230527875,"owners_count":18240052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dots","pagination","react","react-native"],"created_at":"2024-01-05T20:17:09.623Z","updated_at":"2024-12-20T03:10:28.405Z","avatar_url":"https://github.com/yasaricli.png","language":"JavaScript","funding_links":[],"categories":["Components","JavaScript"],"sub_categories":["UI"],"readme":"# react-native-dots-pagination\n\nPaging as dots for react-native.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/tsepeti/react-native-dots-pagination/master/record.gif\" width=\"50%\" /\u003e\n\u003c/p\u003e\n\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\n  - [Quickstart](#quickstart)\n  - [Using](#using)\n- [Props](#props)\n- [Issues](#issues)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Quickstart\n    yarn add react-native-dots-pagination\n    \n## Using\n\n```JS\nimport React, { Component } from 'react';\nimport Dots from 'react-native-dots-pagination';\n\n\nclass Example extends Component {\n  constructor(props) {\n    super(props);\n    this.state = {\n      active: 0\n    }\n  }\n  \n  render() {\n    return (\n      \u003cDots length={10} active={this.state.active} /\u003e\n    )\n  }\n}\n```\n\n# Props\n\n| Name | Default value | Description |\n|--|--|--|\n| length | 10 | Required. The amount of dots you want to use. |\n| active | 1 | Required. The index of the currently active dot. |\n| width | 300 | The overall width works like a center. |\n| paddingVertical | 10 | Average Vertical padding. |\n| paddingHorizontal | 10 | Average Horizontal padding. |\n| passiveDotWidth | 10 | (Width, Height) for passive dot. |\n| activeDotWidth | 15 | (Width, Height) for active dot. |\n| passiveDotHeight | 10 | Height for passive dot. |\n| activeDotHeight | 15 | Height for active dot. |\n| passiveColor | #CCCCCC | Colors for passive dots. |\n| activeColor | #016bd8 | Colors for active dots. |\n| marginHorizontal | 2 | To adjust Margin Horizontal |\n| onScrollTo | function | Trigger when scrolls and index changes |\n\n# Issues\n\n[Github Issues](https://github.com/tsepeti/react-native-dots-pagination/issues) are used to track todos, bugs, feature requests, and more.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasaricli%2Freact-native-dots-pagination","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyasaricli%2Freact-native-dots-pagination","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasaricli%2Freact-native-dots-pagination/lists"}