tailwindcss-plugin-overflow-tw4 weekly downloads statistics
By maxzz · npm · Tailwind plugins
Tailwind CSS v4 plugin for overflow overlay utilities
tailwindcss-plugin-overflow-tw4 has 6 recorded weekly downloads on npm.
About tailwindcss-plugin-overflow-tw4
Tailwind CSS v4 Overflow Overlay Plugin
A Tailwind CSS v4 plugin that adds overflow overlay utilities.
Installation
npm install tailwindcss-plugin-overflow-tw4
# or
pnpm add tailwindcss-plugin-overflow-tw4
# or
yarn add tailwindcss-plugin-overflow-tw4
Available Utilities
This plugin provides the following utilities:
Overflow Overlay Utilities
.overflow-overlay- Setsoverflow: overlaywith fallback support.overflow-x-overlay- Setsoverflow-x: overlaywith fallback support.overflow-y-overlay- Setsoverflow-y: overlaywith fallback support
Smallscroll Utility
.smallscroll- Adds thin, styled scrollbars for both Firefox and Chrome/WebKit browsers- Customizable via CSS variables:
--sb-width: Scrollbar width (default: 8px)--sb-radius: Scrollbar thumb border radius (default: 4px)--sb-color: Scrollbar color (default: #666b7a)
- Customizable via CSS variables:
Resizer Utility
.resizer- Adds a custom resize handle with a visual grip pattern
Example
<!-- Overflow overlay -->
<div class="overflow-overlay h-64 w-64">
<!-- Content with overlay scrollbars -->
</div>
<!-- Vertical overlay scrollbar -->
<div class="overflow-y-overlay h-64">
<!-- Content with vertical overlay scrollbar -->
</div>
<!-- Custom thin scrollbars -->
<div class="smallscroll overflow-auto h-64">
<!-- Content with thin, styled scrollbars -->
</div>
<!-- Custom scrollbar colors -->
<div class="smallscroll overflow-auto h-64" style="--sb-color: #3b82f6">
<!-- Blue scrollbars -->
</div>
<!-- Textarea with custom resize handle -->
<textarea class="resizer resize w-full h-32">
<!-- Textarea with custom resize grip -->
</textarea>
Usage
Tailwind CSS v4
Method 1: CSS Import (Recommended for v4)
/* In your main CSS file (e.g., `app.css` or `index.css`) */
@import "tailwindcss";
@plugin "tailwindcss-plugin-overflow-tw4";
/* or connect it to Tailwind CSS js configuration */
@config '../tailwind.config.js';
/* or with a relative path if installed locally */
@import "tailwindcss";
@plugin "../node_modules/tailwindcss-plugin-overflow-tw4";
Method 2: JavaScript Configuration
// Add the plugin to your Tailwind CSS v4 configuration:
// tailwind.config.js or tailwind.config.ts
import overflowPlugin from 'tailwindcss-plugin-overflow-tw4';
export default {
plugins: [
overflowPlugin,
],
};
// Or if using ESM in a JavaScript file:
// tailwind.config.js
import overflowPlugin from 'tailwindcss-plugin-overflow-tw4';
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,jsx,ts,tsx}'],
plugins: [overflowPlugin],
};
Tailwind CSS v3
For Tailwind CSS v3, use CommonJS format:
// tailwind.config.js
const overflowPlugin = require('tailwindcss-plugin-overflow-tw4');
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{html,js,jsx,ts,tsx}'],
plugins: [overflowPlugin],
};
Or with ES modules:
// tailwind.config.mjs
import overflowPlugin from 'tailwindcss-plugin-overflow-tw4';
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,jsx,ts,tsx}'],
plugins: [overflowPlugin],
};
Development
# Install dependencies
pnpm install
# Build the plugin
pnpm run build
# Debug the plugin
# Or use VS Code's debugger with the provided launch configuration.
pnpm run debug
# Publish the plugin to npm
pnpm run publish:npm
Browser Compatibility
- Overflow overlay: Supported in Chromium-based browsers (Chrome, Edge, Opera). Falls back gracefully in other browsers.
- Smallscroll: Works in all modern browsers with optimized styling for both Firefox and WebKit/Blink browsers.
- Resizer: Works in WebKit/Blink browsers (Chrome, Edge, Safari, Opera).
Requirements
- Node.js >= 18.0.0
- pnpm >= 10.0.0 (for development)
- Tailwind CSS v3.x or v4.x
Description from the npm listing.
- tailwindcss
- tailwindcss-plugin
- tailwind
- overflow
- css
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (1)Similar npm Tailwind plugins plugins
All 20 tailwindcss-plugin-overflow-tw4 alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/tailwindcss-plugin-overflow-tw4. First seen Oct 22, 2026; last successful collection Oct 22, 2026. See the methodology.