{"id":13480208,"url":"https://github.com/reslear/tailwind-scrollbar-hide","last_synced_at":"2025-05-15T00:14:30.704Z","repository":{"id":46306614,"uuid":"334711124","full_name":"reslear/tailwind-scrollbar-hide","owner":"reslear","description":"tailwindcss plugin for hide scrollbar","archived":false,"fork":false,"pushed_at":"2024-12-21T17:14:06.000Z","size":244,"stargazers_count":270,"open_issues_count":2,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-11T12:19:15.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://reslear.github.io/tailwind-scrollbar-hide/","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/reslear.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":"reslear","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2021-01-31T17:12:47.000Z","updated_at":"2025-04-05T09:27:20.000Z","dependencies_parsed_at":"2024-12-29T17:43:27.000Z","dependency_job_id":null,"html_url":"https://github.com/reslear/tailwind-scrollbar-hide","commit_stats":{"total_commits":67,"total_committers":5,"mean_commits":13.4,"dds":"0.23880597014925375","last_synced_commit":"810dd031f42da6c540c233d2986a41cbb0dce3a8"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reslear%2Ftailwind-scrollbar-hide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reslear%2Ftailwind-scrollbar-hide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reslear%2Ftailwind-scrollbar-hide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reslear%2Ftailwind-scrollbar-hide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reslear","download_url":"https://codeload.github.com/reslear/tailwind-scrollbar-hide/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254249205,"owners_count":22039029,"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":"2024-07-31T17:00:35.842Z","updated_at":"2025-05-15T00:14:25.691Z","avatar_url":"https://github.com/reslear.png","language":"TypeScript","readme":"# tailwind-scrollbar-hide\n\n[![npm](https://img.shields.io/npm/v/tailwind-scrollbar-hide)](https://www.npmjs.com/package/tailwind-scrollbar-hide)\n![npm](https://img.shields.io/npm/dt/tailwind-scrollbar-hide)\n![npm](https://img.shields.io/npm/dw/tailwind-scrollbar-hide)\n[![install size](https://packagephobia.com/badge?p=tailwind-scrollbar-hide)](https://packagephobia.com/result?p=tailwind-scrollbar-hide)\n\nTailwind plugin for hide scrollbars, although the element can still be scrolled if the element's content overflows.\n\n\u003cimg src=\"https://user-images.githubusercontent.com/12596485/142972957-272010d3-29f6-4be7-99e1-dd03e7a8b92b.gif\" alt=\"tailwind-scrollbar-hide animation demo\" height=\"500\" /\u003e\n\n[🕹 Live Playground](https://reslear.github.io/tailwind-scrollbar-hide/)\n\n## Features\n\n🎨 Tailwind v2.x, v3.x, v4.x\n\n🛠️ Port for [unocss-preset-scrollbar-hide](https://github.com/reslear/unocss-preset-scrollbar-hide)\n\n![Firefox \u003e=64 Chrome \u003e= 2 Safari \u003e= 4 Internet Explorer \u003e= 10 ](https://badges.herokuapp.com/browsers?googlechrome=2\u0026firefox=64\u0026safari=4\u0026iexplore=10)\n\n## Installation\n\nInstall the plugin from npm:\n\n```sh\n# Using npm\nnpm install tailwind-scrollbar-hide\n\n# Using Yarn\nyarn add tailwind-scrollbar-hide\n\n# Using pnpm\npnpm add tailwind-scrollbar-hide\n```\n\nThen add the plugin to your config file:\n\n```js\n// tailwind.config.js\nmodule.exports = {\n  theme: {\n    // ...\n  },\n  plugins: [\n    require('tailwind-scrollbar-hide')\n    // ...\n  ]\n}\n```\n\nor [using TypeScript](https://tailwindcss.com/docs/configuration#using-esm-or-type-script):\n\n```ts\n// tailwind.config.ts\nimport type { Config } from 'tailwindcss'\nimport scrollbarHide from 'tailwind-scrollbar-hide'\n\nexport default {\n  theme: {\n    // ...\n  },\n  plugins: [scrollbarHide]\n} satisfies Config\n```\n\n### Tailwind v4 support\n\n[Use legacy configuration files](https://tailwindcss.com/docs/v4-beta#using-legacy-configuration-files) like:\n\n```css\n/* index.css */\n@import 'tailwindcss';\n@config \"../../tailwind.config.js\";\n```\n\n## Usage\n\nUse in you template `scrollbar-hide` for visual hiding scrollbar\n\n```html\n\u003cdiv class=\"w-4 scrollbar-hide\"\u003e...\u003c/div\u003e\n```\n\nor restore default value use `scrollbar-default`\n\n\u003e ⚠️ webkit overriding not working https://github.com/reslear/tailwind-scrollbar-hide/issues/19#issuecomment-1086949110 need switch breakpoint system\n\n```html\n\u003cdiv class=\"w-4 scrollbar-hide md:scrollbar-default\"\u003e...\u003c/div\u003e\n```\n\n## Plugin Inspiration\n\n- https://github.com/tailwindlabs/tailwindcss-forms/tree/main\n- https://github.com/tailwindlabs/tailwindcss/discussions/2310#discussioncomment-8592440\n\n## License\n\n[MIT](./LICENSE)\n","funding_links":["https://ko-fi.com/reslear"],"categories":["Plugins"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freslear%2Ftailwind-scrollbar-hide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freslear%2Ftailwind-scrollbar-hide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freslear%2Ftailwind-scrollbar-hide/lists"}