Install the plugin from npm:
# Using npm
npm install hide-tailwind-scrollbar
you can use yarn also....
Now add this bad boy to tailwind.config.js
file:
// tailwind.config.js
module.exports = {
theme: {
// ...
},
plugins: [
require('hide-tailwind-scrollbar')
// ...
]
}
<div className="scrollbar-hide">...</div>
*i am thinking of adding more plugins doing the different thing to the scrollbars may be write them some other time.