npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ayato-san/tailwind-scrollbar

v1.0.0

Published

A tailwind plugin that provides utilities for styling scrollbars.

Readme

Features

  • Custom scrollbar variants for different parts of the scrollbar.
  • Utilities for setting scrollbar-gutter with various values.
  • Utilities for setting scrollbar-width with different options.
  • Custom scrollbar colors using scrollbar-fg and scrollbar-bg utilities.

Install

  • with NPM

    npm install -D tailwindcss @ayato-san/tailwind-scrollbar
  • with pnpm

    pnpm add -D tailwindcss @ayato-san/tailwind-scrollbar
  • with yarn

    yarn add -D tailwindcss @ayato-san/tailwind-scrollbar

Utilities

  • Custom scrollbar variants such as scrollbar, scrollbar-horizontal, scrollbar-vertical, scrollbar-button, scrollbar-thumb, scrollbar-track, scrollbar-track-piece, scrollbar-corner, and scrollbar-resizer.
  • Utilities to set scrollbar-gutter with values like auto, stable, stable-both, inherit, and initial.
  • Utilities to set scrollbar-width with values like auto, thin, and none.
  • Custom scrollbar foreground and background colors using scrollbar-fg and scrollbar-bg utilities, supporting all colors from the Tailwind CSS color palette.

Preconfiguration

  • firefox: Scrollbar in firefox's like style

inside the tailwind.config.js

plugins: [require('@ayato-san/tailwind-scrollbar/preconfigured/<name>')]

customize preconfiguration

theme: {
  scrollbar: {
    size: '10px', // the width or height of the scrollbar
    padding: '2px', // the padding between the scrollbar and the border
    background: { default: '#f0f0f0', hover: '#f4f4f4' }, // the scrollbar tack color
    foreground: { default: '#bfbfbf', hover: '#a6a6a6' }, // the scrollbar thumb color
  }
}