{"id":23442257,"url":"https://github.com/teamwertarbyte/material-ui-dots","last_synced_at":"2025-04-13T11:10:35.251Z","repository":{"id":21336516,"uuid":"92393861","full_name":"TeamWertarbyte/material-ui-dots","owner":"TeamWertarbyte","description":"Just some animated dots for pagination.","archived":false,"fork":false,"pushed_at":"2024-12-16T15:47:19.000Z","size":453,"stargazers_count":14,"open_issues_count":3,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T06:18:35.588Z","etag":null,"topics":["dots","material-design","material-ui","pagination","react"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/TeamWertarbyte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["leMaik","saschb2b"],"ko_fi":"wertarbyte"}},"created_at":"2017-05-25T10:47:41.000Z","updated_at":"2024-09-13T11:34:48.000Z","dependencies_parsed_at":"2024-12-23T17:29:57.344Z","dependency_job_id":"9b66ce54-0d9a-455c-a6b5-2afe4ced0e6b","html_url":"https://github.com/TeamWertarbyte/material-ui-dots","commit_stats":{"total_commits":32,"total_committers":4,"mean_commits":8.0,"dds":0.28125,"last_synced_commit":"3daa8721f6b242e7dc9b5303baed99e17c7503d9"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamWertarbyte%2Fmaterial-ui-dots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamWertarbyte%2Fmaterial-ui-dots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamWertarbyte%2Fmaterial-ui-dots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamWertarbyte%2Fmaterial-ui-dots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TeamWertarbyte","download_url":"https://codeload.github.com/TeamWertarbyte/material-ui-dots/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703199,"owners_count":21148118,"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","material-design","material-ui","pagination","react"],"created_at":"2024-12-23T17:29:05.259Z","updated_at":"2025-04-13T11:10:35.229Z","avatar_url":"https://github.com/TeamWertarbyte.png","language":"TypeScript","funding_links":["https://github.com/sponsors/leMaik","https://github.com/sponsors/saschb2b","https://ko-fi.com/wertarbyte"],"categories":[],"sub_categories":[],"readme":"# Material-UI Dots\n\n[![npm Package](https://img.shields.io/npm/v/material-ui-dots.svg)](https://www.npmjs.com/package/material-ui-dots)\n\nThis component gives you animated pagination dots as seen in the [Material Design specs][material-specs] and in the quick settings menu of Android N. The dots were extracted from our [auto-rotating carousel][material-auto-rotating-carousel] component.\n\n[material-specs]: https://material.io/design/communication/onboarding.html#top-user-benefits-model\n[material-auto-rotating-carousel]: https://github.com/TeamWertarbyte/material-auto-rotating-carousel\n\n## Installation\n```shell\nyarn add material-ui-dots\n```\n\n## Usage\n\nThere is only a single `Dots` component which is to be used in controlled mode. The following example component will display five dots and select a dot when clicking on it.\n\n```js\nimport * as React from 'react'\nimport { Dots } from 'material-ui-dots'\nimport { Box } from '@mui/material';\n\nexport const App: React.FC = () =\u003e {\n  const [index, setIndex] = React.useState\u003cnumber\u003e(0);\n\n  return (\n    \u003cBox\n      sx={{\n        display: 'flex',\n        justifyContent: 'center',\n        backgroundColor: 'rgba(0, 0, 0, 0.5)',\n        borderRadius: 6,\n        pb: 0.5,\n        width: 200,\n      }}\n    \u003e\n      \u003cDots index={index} count={5} onDotClick={(value) =\u003e setIndex(value)} /\u003e\n    \u003c/Box\u003e\n  );\n};\n```\n\n## License\n\nThe files included in this repository are licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamwertarbyte%2Fmaterial-ui-dots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteamwertarbyte%2Fmaterial-ui-dots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamwertarbyte%2Fmaterial-ui-dots/lists"}