🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

tailwind-scrollbar

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tailwind-scrollbar

Tailwind plugin for styling scrollbars

1.0.1
Source
npm
Version published
Weekly downloads
418K
-1.46%
Maintainers
1
Weekly downloads
 
Created

What is tailwind-scrollbar?

The tailwind-scrollbar npm package is a plugin for Tailwind CSS that allows you to customize the appearance of scrollbars in your web applications. It provides utility classes to style scrollbars in a way that is consistent with the rest of your Tailwind CSS design.

What are tailwind-scrollbar's main functionalities?

Custom Scrollbar Width

This feature allows you to apply a thin scrollbar to an element, making the scrollbar less obtrusive and more visually appealing.

.scrollbar-thin { @apply scrollbar-thin; }

Custom Scrollbar Colors

This feature allows you to change the color of the scrollbar thumb, which is the draggable part of the scrollbar. You can use any color from your Tailwind CSS color palette.

.scrollbar-thumb-blue { @apply scrollbar-thumb-blue-500; }

Custom Scrollbar Track Colors

This feature allows you to change the color of the scrollbar track, which is the area the thumb moves along. You can use any color from your Tailwind CSS color palette.

.scrollbar-track-gray { @apply scrollbar-track-gray-300; }

Other packages similar to tailwind-scrollbar

FAQs

Package last updated on 02 Sep 2020

Did you know?

Socket

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.

Install

Related posts