
Research
/Security News
Intercom’s npm Package Compromised in Ongoing Mini Shai-Hulud Worm Attack
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.
tailwind-scrollbar-variants
Advanced tools
This plugin adds scrollbar variants
The built in Scrollbar class
<div class="scrollbar-rounded">
...
<div>
The built in Overflow class
<div class="overflow-[<x|y>-]overlay">
...
<div>
| Prefix | Pseudo-Element |
|---|---|
scrollbar | ::-webkit-scrollbar |
scrollbar-button | ::-webkit-scrollbar-button |
scrollbar-thumb | ::-webkit-scrollbar-thumb |
scrollbar-track | ::-webkit-scrollbar-track |
scrollbar-track-piece | ::-webkit-scrollbar-track-piece |
scrollbar-corner | ::-webkit-scrollbar-corner |
scrollbar-resizer | ::-webkit-resizer |
Rounded scrollbar with x-axis margins
<div class="scrollbar-rounded scrollbar-track:mx-4">
...
<div>
Rounded scrollbar with adjusted thumb opacity
<div class="scrollbar-rounded scrollbar-thumb:bg-opacity-[0.1]">
...
<div>
Or get really crazy
Rounded scrollbar with adjusted background color and opacity (shorthand)
<div class="scrollbar-rounded scrollbar-thumb:bg-red-500/[0.26]">
...
<div>
Add it at the end of the plugins list in your tailwind.config.js file.
module.exports = {
// ...
plugins: [
// ...
require("tailwind-scrollbar-variant"),
],
};
Customize defaults for scrollbar-rounded class:
module.exports = {
// ...
plugins: [
// ...
require("tailwind-scrollbar-variant")({
button: {
display: "none",
height: "0px",
width: "0px"
},
corner: {
bgColor: "transparent"
},
scrollbar: {
height: "14px",
scrollbarWidth: "thin",
width: "14px"
},
thumb: {
bgOpacity: "0.15",
borderColor: "transparent",
borderRadius: "7px",
borderStyle: "solid",
borderWidth: "4px",
height: "auto",
width: "auto"
}
}),
],
};
FAQs
Adds scrollbar variants
The npm package tailwind-scrollbar-variants receives a total of 18 weekly downloads. As such, tailwind-scrollbar-variants popularity was classified as not popular.
We found that tailwind-scrollbar-variants demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.

Research
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.