{"id":19684506,"url":"https://github.com/chrisnager/simple-paper-spinner","last_synced_at":"2026-03-07T18:31:35.343Z","repository":{"id":27989970,"uuid":"31484005","full_name":"chrisnager/simple-paper-spinner","owner":"chrisnager","description":"Simple \u003cpaper-spinner\u003e","archived":false,"fork":false,"pushed_at":"2020-04-22T18:52:32.000Z","size":36,"stargazers_count":43,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"gh-pages","last_synced_at":"2025-04-05T13:38:12.817Z","etag":null,"topics":["animation","composite-properties","css","html","material-design","paper","paper-spinner","spinner"],"latest_commit_sha":null,"homepage":"http://chrisnager.github.io/simple-paper-spinner/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisnager.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-01T02:11:26.000Z","updated_at":"2023-07-14T12:19:52.000Z","dependencies_parsed_at":"2022-07-27T11:32:50.158Z","dependency_job_id":null,"html_url":"https://github.com/chrisnager/simple-paper-spinner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chrisnager/simple-paper-spinner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisnager%2Fsimple-paper-spinner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisnager%2Fsimple-paper-spinner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisnager%2Fsimple-paper-spinner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisnager%2Fsimple-paper-spinner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisnager","download_url":"https://codeload.github.com/chrisnager/simple-paper-spinner/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisnager%2Fsimple-paper-spinner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30226246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T18:12:09.766Z","status":"ssl_error","status_checked_at":"2026-03-07T18:11:58.786Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["animation","composite-properties","css","html","material-design","paper","paper-spinner","spinner"],"created_at":"2024-11-11T18:18:00.257Z","updated_at":"2026-03-07T18:31:35.323Z","avatar_url":"https://github.com/chrisnager.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Simple paper-spinner](../gh-pages/simple-paper-spinner.gif)\n\n# Simple `\u003cpaper-spinner\u003e`\n\nIntrigued by Keanu Lee's amazing [article](//blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html) describing how he built the official [`\u003cpaper-spinner\u003e` Polymer element](//polymer.github.io/paper-spinner/components/paper-spinner/demo.html) seen in the [Google Material Design spec](//www.google.com/design/spec/components/progress-activity.html), I had to see if it was possible to simplify the spinner further by condensing it down to a single HTML element. My goal was to rebuild the paper-spinner in a way that was:\n\n*   Accessible ✓\n*   Cross browser compatible (IE10+) ✓*\n*   A single HTML element ✓\n*   HTML and CSS only ✓\n*   Uses relative units for easy scalability ✓\n*   Animated with strictly composite properties (`transform` and `opacity`) ✓**\n\nWell…I got really close. Check it out. (Pull requests are more than welcome.)\n\n* * *\n\n*I use `clip-path: circle()`, which is not available in IE or Firefox, as a progressive enhancement only to remove small artifacts left over from the animations.\n\n**All spinners animate with composite properties except the multicolor spinner. The multicolor spinner unfortunately invokes repaints on color changes. :/ On the plus side, I haven't seen the frame rate dip below 60fps.\n\n\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2015-2020 [Chris Nager](https://twitter.com/chrisnager)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisnager%2Fsimple-paper-spinner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisnager%2Fsimple-paper-spinner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisnager%2Fsimple-paper-spinner/lists"}