{"id":13480329,"url":"https://github.com/lukewarlow/tailwind-scroll-behavior","last_synced_at":"2025-10-07T03:30:51.617Z","repository":{"id":65514151,"uuid":"384713203","full_name":"lukewarlow/tailwind-scroll-behavior","owner":"lukewarlow","description":"Tailwind v2 plugin to create classes for the scroll-behavior property","archived":true,"fork":false,"pushed_at":"2021-12-10T15:59:22.000Z","size":7,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-16T13:26:16.929Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/tailwind-scroll-behavior","language":"JavaScript","has_issues":false,"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/lukewarlow.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":"2021-07-10T14:09:36.000Z","updated_at":"2023-03-14T07:55:56.000Z","dependencies_parsed_at":"2023-01-26T21:00:13.532Z","dependency_job_id":null,"html_url":"https://github.com/lukewarlow/tailwind-scroll-behavior","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lukewarlow/tailwind-scroll-behavior","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukewarlow%2Ftailwind-scroll-behavior","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukewarlow%2Ftailwind-scroll-behavior/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukewarlow%2Ftailwind-scroll-behavior/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukewarlow%2Ftailwind-scroll-behavior/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lukewarlow","download_url":"https://codeload.github.com/lukewarlow/tailwind-scroll-behavior/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lukewarlow%2Ftailwind-scroll-behavior/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278715508,"owners_count":26033296,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-07-31T17:00:37.530Z","updated_at":"2025-10-07T03:30:51.362Z","avatar_url":"https://github.com/lukewarlow.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":[],"readme":"# TailwindCSS Scroll Behavior Plugin\n\n[![npm](https://img.shields.io/npm/v/tailwind-scroll-behavior.svg?style=flat-square)](https://www.npmjs.com/package/tailwind-scroll-behavior)\n\nThis plugin generates [scroll-behavior](https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-behavior) classes.\n\nNote: As of TailwindCSS v3 these utilities are included by default.\n\nA `scroll-smooth` and `scroll-auto` class will be created.\n\nIt is recommended that you use `scroll-smooth` in combination with Tailwind's `motion-safe` variant.\nThis will only enable smooth scrolling for users who have not specified they prefer reduced motion.\n\n## Installation\n\nAdd to your project via:\n\n```bash\n# Install using npm\nnpm install -D tailwind-scroll-behavior\n\n# Install using yarn\nyarn add -D tailwind-scroll-behavior\n```\n\nAdd it to the plugins array of your Tailwind config.\n\n```js\nplugins: [\n  require('tailwind-scroll-behavior')(), // no options to configure\n]\n```\n\nBy default, this plugin works with the `motion-safe` and `motion-reduce` variants. However, you can customise the \nvariants for the plugin, by adding to the variants section of your Tailwind config.\n\n```js\nvariants: {\n\tscrollBehavior: ['motion-safe', 'motion-reduce', 'responsive']\n}\n```\n\n## License\n\nThis project is licensed under the [MIT License](https://github.com/lukewarlow/tailwind-scroll-behavior/blob/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukewarlow%2Ftailwind-scroll-behavior","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukewarlow%2Ftailwind-scroll-behavior","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukewarlow%2Ftailwind-scroll-behavior/lists"}