{"id":26235991,"url":"https://github.com/helti/vue-pithy-progress","last_synced_at":"2026-01-31T17:31:11.992Z","repository":{"id":84742110,"uuid":"291735091","full_name":"HelTi/vue-pithy-progress","owner":"HelTi","description":"vue progress component. circle, semi-circle, progress-bar","archived":false,"fork":false,"pushed_at":"2020-09-16T14:37:17.000Z","size":680,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-14T07:47:28.324Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/HelTi.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-31T14:18:20.000Z","updated_at":"2024-04-14T07:47:28.325Z","dependencies_parsed_at":"2023-05-20T10:45:54.929Z","dependency_job_id":null,"html_url":"https://github.com/HelTi/vue-pithy-progress","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.26315789473684215","last_synced_commit":"8fef7ee750193d030746788eec89608380f9e8bf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelTi%2Fvue-pithy-progress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelTi%2Fvue-pithy-progress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelTi%2Fvue-pithy-progress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelTi%2Fvue-pithy-progress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HelTi","download_url":"https://codeload.github.com/HelTi/vue-pithy-progress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243330727,"owners_count":20274114,"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":[],"created_at":"2025-03-13T03:19:15.320Z","updated_at":"2026-01-31T17:31:11.946Z","avatar_url":"https://github.com/HelTi.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-pithy-progress\n\nProgress bar component for Vue.js(2.x). This project contains three common components（circle-progress、semi-circle-progres、progress-bar）uses SVG to show progress.\n\n\u003ca href=\"#\"\u003e\n\u003cimg width=\"500\" src=\"https://s1.ax1x.com/2020/09/13/w018bR.png\" /\u003e\n\u003c/a\u003e\n\nEnglish|[中文](./README_CN.md)\n## Installation\n```bash\nnpm install vue-pithy-progress\n```\n\n## Usage\n### Global registration\n```bash\nimport VuePithyProgress from 'vue-pithy-progress'\nimport 'vue-pithy-progress/dist/vue-pithy-progress.css'\nVue.use(VuePithyProgress)\n\n\u003ccircle-progress :percentage=\"percentage\"\u003e \u003c/circle-progress\u003e\n\n\u003csemi-circle-progress :percentage=\"percentage\" /\u003e\n\n\u003cprogress-bar :percentage=\"percentage\" /\u003e\n\n```\n### Use single component\n```bash\nimport semiCircleProgress from 'vue-pithy-progress/lib/semi-circle-progress.umd.min.js'\nimport 'vue-pithy-progress/lib/semi-circle-progress.css'\n\n\u003csemi-circle-progress :percentage=\"percentage\" /\u003e\n\nexport default {\n  name: 'App',\n  data() {\n    return {\n      percentage: 10\n    }\n  },\n  components: { semiCircleProgress }\n}\n\n```\n## demo\n```js\n\u003ctemplate\u003e\n  \u003cdiv id=\"app\"\u003e\n    \u003cdiv class=\"con\"\u003e\n      \u003ccircle-progress :percentage=\"percentage\"\u003e \u003c/circle-progress\u003e\n    \u003c/div\u003e\n    \u003cdiv style=\"margin-top:10px;\"\u003e\n      \u003csemi-circle-progress :percentage=\"percentage\" /\u003e\n    \u003c/div\u003e\n    \u003cdiv style=\"width:220px; margin-top:60px;\"\u003e\n      \u003cprogress-bar :percentage=\"percentage\" /\u003e\n    \u003c/div\u003e\n\n    \u003cdiv class=\"btn-wrapper\" style=\"margin-top:10px;\"\u003e\n      \u003cbutton @click=\"changeProgrss\"\u003eincrease\u003c/button\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\u003c/template\u003e\n\n\u003cscript\u003e\n\nexport default {\n  name: 'App',\n  data() {\n    return {\n      percentage: 10\n    }\n  },\n  methods: {\n    changeProgrss() {\n      this.percentage += 10\n    }\n  }\n}\n\u003c/script\u003e\n\n```\n## circle-progress\n### props\n|  Name   | Default value  |  Type  |  Description  |\n|  ----  | ----  | ----  | ----  |\n| percentage  | 0 | Number | Rate of progress. |\n| r  | 50 | Number | Radius of circle. |\n| stroke-width  | 5 | Number | The width of the progress bar. |\n| bg-color  | #ffffff | String | The background color of the circle.|\n| stroke-bg-color  | #ffcaca | String | The background color of the progress bar. |\n| stroke-color  | #e57d4b | String | The color of progress bar. |\n| stroke-linecap  | round | String | The type of stroke linecap for circle.(sqaure butt round) |\n| duration  | 0.3 | Number | Transition time for progress changes. |\n\n### slots\n|  Name   | Description  |\n|  ----  | ----  |\n| default  | custom text content. |\n\n## semi-circle-progress\n### props\n|  Name   | Default value  |  Type  |  Description  |\n|  ----  | ----  | ----  | ----  |\n| percentage  | 0 | Number | Rate of progress. |\n| r  | 50 | Number | Radius of circle. |\n| stroke-width  | 5 | Number | The width of the progress bar. |\n| bg-color  | #ffffff | String | The background color of the circle.|\n| stroke-bg-color  | #ffcaca | String  | The background color of the progress bar. |\n| stroke-color  | #e57d4b | String | The color of progress bar. |\n| stroke-linecap  | round | String | The type of stroke linecap for circle.(sqaure butt round) |\n| duration  | 0.3 | Number | Transition time for progress changes. |\n\n### slots\n|  Name   | Description  |\n|  ----  | ----  |\n| default  | custom text content. |\n\n## progress-abr\n### props\n|  Name   | Default value  |  Type  |  Description  |\n|  ----  | ----  | ----  | ----  |\n| percentage  | 0 | Number | Rate of progress. |\n| height  | 8 | Number | Height of progress bar. |\n| unit  | px | String | The css pixel unit. |\n| width  | 100% | String | The width of progress bar.|\n| bg-color  | #ffcaca | String  | The background color of the progress bar. |\n| color  | #e57d4b | String | The font color of progress bar. |\n| show-top-tip  | true | Boolean |  Show top tips of progress bar. |\n| tip-bg-color  | #ffcaca | String | Background color of top tips. |\n| tip-font-color  | #ff445a | String | Font color of top tips. |\n\n### slots\n|  Name   | Description  |\n|  ----  | ----  |\n| default  | custom text content(Top tip). |\n\n## Dev\n```bash\nnpm install\nnpm run serve\n```\n## build\n```bash\nnpm run build\n```\n## License\n[MIT](./LICENSE)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelti%2Fvue-pithy-progress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelti%2Fvue-pithy-progress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelti%2Fvue-pithy-progress/lists"}