{"id":13559405,"url":"https://github.com/Nicell/nice-anim","last_synced_at":"2025-04-03T14:32:11.553Z","repository":{"id":65459120,"uuid":"192831693","full_name":"Nicell/nice-anim","owner":"Nicell","description":"An animate on scroll Web Component built with StencilJS","archived":false,"fork":false,"pushed_at":"2019-09-05T22:35:12.000Z","size":3976,"stargazers_count":31,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T15:06:02.809Z","etag":null,"topics":["anim","animation","scroll","stencil","webcomponents"],"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/Nicell.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}},"created_at":"2019-06-20T02:05:24.000Z","updated_at":"2022-09-04T11:15:52.000Z","dependencies_parsed_at":"2023-01-24T14:45:54.210Z","dependency_job_id":null,"html_url":"https://github.com/Nicell/nice-anim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicell%2Fnice-anim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicell%2Fnice-anim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicell%2Fnice-anim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicell%2Fnice-anim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nicell","download_url":"https://codeload.github.com/Nicell/nice-anim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247018589,"owners_count":20870031,"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":["anim","animation","scroll","stencil","webcomponents"],"created_at":"2024-08-01T13:00:21.160Z","updated_at":"2025-04-03T14:32:11.023Z","avatar_url":"https://github.com/Nicell.png","language":"TypeScript","funding_links":[],"categories":["List of Awesome Components Made using StencilJS"],"sub_categories":["Individual Components"],"readme":"# nice-anim\n\n[![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D\u0026colorA=16161d\u0026style=flat-square)](https://stenciljs.com/)\n[![npm](https://img.shields.io/npm/v/nice-anim.svg?style=flat-square)](https://www.npmjs.com/package/nice-anim)\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg height=\"400\" src=\"img/in-use.gif\"\u003e\u003cbr\u003e\n  \u003ci\u003eExample of use from nick.winans.codes\u003c/i\u003e\n\u003c/div\u003e\n\n## What is it?\nnice-anim is a Web Component that allows you to easily animate elements when scrolled into view by wrapping them.\n\n## Usage\n```html\n\u003cnice-anim direction=\"up\" duration=\"500\"\u003e\n  \u003cp\u003eAnimating text!\u003c/p\u003e\n\u003c/nice-anim\u003e\n```\n\n#### All of the props can be found in the component's [README](src/components/nice-anim/readme.md)\n\n## Installation\nThere are 3 options to install `nice-anim`.\n\n### Script tag\n - Put `\u003cscript src='https://unpkg.com/nice-anim/dist/nice-anim.js'\u003e\u003c/script\u003e` in the head of your index.html.\n - Then you can use the element anywhere in your template, JSX, html etc.\n\n### Node Modules\n - Run `npm install nice-anim --save`\n - Put `\u003cscript src='node_modules/nice-anim/dist/nice-anim.js'\u003e\u003c/script\u003e` in the head of your index.html.\n - Then you can use the element anywhere in your template, JSX, html etc.\n\n### In a stencil-app-starter app\n - Run `npm install nice-anim --save`\n - Add `import 'nice-anim';`\n - Then you can use the element anywhere in your template, JSX, html etc.\n\n## Intersection Observer Polyfill\n[Some browsers don't have the Intersection Observer API.](https://caniuse.com/#search=intersectionobserver) You can include the following script to add support to those browsers without it.\n\n`\u003cscript src=\"https://polyfill.io/v2/polyfill.min.js?features=IntersectionObserver\"\u003e\u003c/script\u003e`\n\nYou can read more about Intersection Observer polyfills [here](https://github.com/w3c/IntersectionObserver/tree/master/polyfill).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNicell%2Fnice-anim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNicell%2Fnice-anim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNicell%2Fnice-anim/lists"}