{"id":13543296,"url":"https://github.com/react-component/progress","last_synced_at":"2025-08-29T05:36:43.505Z","repository":{"id":30431409,"uuid":"33984397","full_name":"react-component/progress","owner":"react-component","description":"React Progress Bar","archived":false,"fork":false,"pushed_at":"2024-09-20T06:18:16.000Z","size":3519,"stargazers_count":698,"open_issues_count":33,"forks_count":159,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-10-29T21:10:43.172Z","etag":null,"topics":["progress","react"],"latest_commit_sha":null,"homepage":"http://progress.react-component.vercel.app","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/react-component.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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":"ant-design","patreon":null,"open_collective":"ant-design","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"thanks_dev":null,"custom":null}},"created_at":"2015-04-15T09:13:57.000Z","updated_at":"2024-10-24T14:05:00.000Z","dependencies_parsed_at":"2023-11-25T17:28:35.941Z","dependency_job_id":"4633d463-57e8-4d5c-8b47-2b3398ce1cdd","html_url":"https://github.com/react-component/progress","commit_stats":{"total_commits":163,"total_committers":38,"mean_commits":"4.2894736842105265","dds":0.6625766871165644,"last_synced_commit":"d388cf0918c273c3f5fd59a9b34cbf0d2bf6f8b5"},"previous_names":[],"tags_count":50,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fprogress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fprogress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fprogress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-component%2Fprogress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-component","download_url":"https://codeload.github.com/react-component/progress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246620259,"owners_count":20806720,"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":["progress","react"],"created_at":"2024-08-01T11:00:28.999Z","updated_at":"2025-08-29T05:36:43.486Z","avatar_url":"https://github.com/react-component.png","language":"TypeScript","readme":"# @rc-component/progress\n\nProgress Bar.\n\n[![NPM version][npm-image]][npm-url] [![dumi](https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square)](https://github.com/umijs/dumi) [![build status][github-actions-image]][github-actions-url] [![Test coverage][coveralls-image]][coveralls-url] [![npm download][download-image]][download-url] [![bundle size][bundlephobia-image]][bundlephobia-url]\n\n[npm-image]: http://img.shields.io/npm/v/@rc-component/progress.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/@rc-component/progress\n[github-actions-image]: https://github.com/react-component/progress/workflows/CI/badge.svg\n[github-actions-url]: https://github.com/react-component/progress/actions\n[circleci-image]: https://img.shields.io/circleci/react-component/progress/master?style=flat-square\n[circleci-url]: https://circleci.com/gh/react-component/progress\n[coveralls-image]: https://img.shields.io/coveralls/react-component/progress.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/react-component/progress?branch=master\n[david-url]: https://david-dm.org/react-component/progress\n[david-image]: https://david-dm.org/react-component/progress/status.svg?style=flat-square\n[david-dev-url]: https://david-dm.org/react-component/progress?type=dev\n[david-dev-image]: https://david-dm.org/react-component/progress/dev-status.svg?style=flat-square\n[download-image]: https://img.shields.io/npm/dm/@rc-component/progress.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@rc-component/progress\n[bundlephobia-url]: https://bundlephobia.com/result?p=@rc-component/progress\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@rc-component/progress\n\n## Example\n\nhttps://progress.react-component.vercel.app/\n\n## Screenshots\n\n\u003cimg src=\"https://t.alipayobjects.com/images/T12p8gXjpgXXXXXXXX.gif\" /\u003e\n\n## Browsers\n\n* support IE9+, Chrome, Firefox, Safari\n\n## Install\n\n[![@rc-component/progress](https://nodei.co/npm/@rc-component/progress.png)](https://npmjs.org/package/@rc-component/progress)\n\n## Usage\n\n```js\nimport { Line, Circle } from '@rc-component/progress';\n\nexport default () =\u003e (\n  \u003c\u003e\n     \u003cLine percent={10} strokeWidth={4} strokeColor=\"#D3D3D3\" /\u003e\n     \u003cCircle percent={10} strokeWidth={4} strokeColor=\"#D3D3D3\" /\u003e \n  \u003c/\u003e\n);\n```\n\n## Compatibility\n\n| [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png\" alt=\"IE / Edge\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003cbr\u003eIE / Edge | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png\" alt=\"Firefox\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003cbr\u003eFirefox | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png\" alt=\"Chrome\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003cbr\u003eChrome | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png\" alt=\"Safari\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003cbr\u003eSafari | [\u003cimg src=\"https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png\" alt=\"Electron\" width=\"24px\" height=\"24px\" /\u003e](http://godban.github.io/browsers-support-badges/)\u003cbr\u003eElectron |\n| --- | --- | --- | --- | --- |\n| IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |\n\n## API\n\n### props\n\n\u003ctable class=\"table table-bordered table-striped\"\u003e\n  \u003cthead\u003e\n  \u003ctr\u003e\n    \u003cth style=\"width: 100px;\"\u003ename\u003c/th\u003e\n    \u003cth style=\"width: 50px;\"\u003etype\u003c/th\u003e\n    \u003cth style=\"width: 50px;\"\u003edefault\u003c/th\u003e\n    \u003cth\u003edescription\u003c/th\u003e\n  \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n    \u003ctr\u003e\n      \u003ctd\u003estrokeWidth\u003c/td\u003e\n      \u003ctd\u003eNumber\u003c/td\u003e\n      \u003ctd\u003e1\u003c/td\u003e\n      \u003ctd\u003eWidth of the stroke. Unit is percentage of SVG canvas size.\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003estrokeColor\u003c/td\u003e\n      \u003ctd\u003eString\u003c/td\u003e\n      \u003ctd\u003e#2db7f5\u003c/td\u003e\n      \u003ctd\u003eStroke color.\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003erailWidth\u003c/td\u003e\n      \u003ctd\u003eNumber\u003c/td\u003e\n      \u003ctd\u003e1\u003c/td\u003e\n      \u003ctd\u003eWidth of the rail stroke. Unit is percentage of SVG canvas size. Rail is always centered relative to actual progress path. If railWidth is not defined, it is the same as strokeWidth.\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003erailColor\u003c/td\u003e\n      \u003ctd\u003eString\u003c/td\u003e\n      \u003ctd\u003e#D9D9D9\u003c/td\u003e\n      \u003ctd\u003eColor for lighter rail stroke underneath the actual progress path.\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003estrokeLinecap\u003c/td\u003e\n      \u003ctd\u003eString\u003c/td\u003e\n      \u003ctd\u003e'round'\u003c/td\u003e\n      \u003ctd\u003eThe shape to be used at the end of the progress bar: can be `butt`, `square` or `round`.\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eprefixCls\u003c/td\u003e\n      \u003ctd\u003eString\u003c/td\u003e\n      \u003ctd\u003erc-progress\u003c/td\u003e\n      \u003ctd\u003eprefix className for component\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eclassName\u003c/td\u003e\n      \u003ctd\u003eString\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003ecustomized className\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003estyle\u003c/td\u003e\n      \u003ctd\u003eObject\u003c/td\u003e\n      \u003ctd\u003e\u003c/td\u003e\n      \u003ctd\u003estyle object will be added to svg element\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003epercent\u003c/td\u003e\n      \u003ctd\u003eNumber | Number[]\u003c/td\u003e\n      \u003ctd\u003e0\u003c/td\u003e\n      \u003ctd\u003ethe percent of the progress\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003egapDegree\u003c/td\u003e\n      \u003ctd\u003eNumber\u003c/td\u003e\n      \u003ctd\u003e0\u003c/td\u003e\n      \u003ctd\u003ethe gap degree of half circle, 0 - 360\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003egapPosition\u003c/td\u003e\n      \u003ctd\u003eString\u003c/td\u003e\n      \u003ctd\u003etop\u003c/td\u003e\n      \u003ctd\u003ethe gap position: can be `top`, `bottom`, `left`, or `right`. \u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003ctd\u003eloading\u003c/td\u003e\n      \u003ctd\u003eBoolean\u003c/td\u003e\n      \u003ctd\u003efalse\u003c/td\u003e\n      \u003ctd\u003eIf it is true the indeterminate progress will be enabled.\u003c/td\u003e\n    \u003c/tr\u003e\n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n## Installation\n\n```\nnpm install --save @rc-component/progress\n```\n\n## Development\n\n```\nnpm install\nnpm start\n```\n\n## License\n\n@rc-component/progress is released under the MIT license.\n","funding_links":["https://github.com/sponsors/ant-design","https://opencollective.com/ant-design"],"categories":["UI Components","UI Frameworks","Demos","\u003csummary\u003eUI Components\u003c/summary\u003e","TypeScript"],"sub_categories":["Loader","Responsive"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-component%2Fprogress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-component%2Fprogress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-component%2Fprogress/lists"}