Skip to content
PluginStats

tailwind-smart-fluid weekly downloads statistics

By accudio · npm · Tailwind plugins

Generate fluid spacing within tailwind using CSS clamp and viewport units

View on npm Fresh · Oct 18, 2026

tailwind-smart-fluid has 5 recorded weekly downloads on npm, a decrease of 70.6% over the past 30 days, ranking #2184 of 2,322 tracked listings.

Weekly downloads
5
Official API · Oct 18, 2026
7-day growth
-16.7%
-1 weekly downloads
30-day growth
-70.6%
-12 weekly downloads
90-day growth
+400%
+4 weekly downloads
Rank
#2184
Among tracked npm listings

About tailwind-smart-fluid

Tailwing Smart Fluid

Tailwind plugin that provides smart fluid spacing and typography using CSS clamp and viewport units.

This is currently experimental, and hasn't been fully tested. Use at your own risk

Installation

Install the plugin from npm:

npm install -D tailwind-smart-fluid

Then add the plugin to your tailwind.config.js file:

// tailwind.config.js
module.exports = {
  theme: {
    // ...
  },
  plugins: [
    require('tailwind-smart-fluid'),
    // ...
  ],
}

Usage

This plugin uses Just In Time (JIT) to generate fluid version values for all spacing utilities.

In its simplest form, add the class fl-px-[20px,64px], where in this case 20px is the size at the minimum configured viewport (theme.fluid.min) and 64px is the size at the maximum configured viewport (theme.fluid.max).

<div class="fl-py-[20px,64px]"></div>
<!-- generates css like this: -->
<style>
  .fl-py-\[20px\2c 64px\] {
    padding-bottom: clamp(1.25rem,calc(4.13vw + 0.28rem),4rem);
    padding-top: clamp(1.25rem,calc(4.13vw + 0.28rem),4rem);
  }
</style>

You can also specify custom viewports, with fl-px-[20px@400px,64px@1440px]. In this example, when the screen is smaller than 400px the padding is 20px, when the screen is above 1440px it's 64px. Between these it will scale with the viewport width.

Notes:
  • Values have to be provided with the same CSS unit;
  • If a unit is not specified, it will use px;
  • Breakpoints have to be provided with the same CSS unit;
  • Mixing units between values and breakpoints can produce unexpected results, especially mixing relative and absolute units. For this technique to work the plugin converts breakpoints to match the value unit which may not match what you'd expect.

Configuration

You can configure the default min and max viewport and whether the plugin should convert breakpoint units under the fluid key in your tailwind.config.js file:

// tailwind.config.js
module.exports = {
  theme: {
    fluid: {
      min: '400px',
      max: '1440px',
      convertUnit: true,
       // change if you use rem and the equivalent font-size on your html element is not 16px
      rootFontSize: '16px'
    }
  }
}
Default config
PropertyDefaultNotes
min576pxMinimum viewport when not specified
max1024pxMaximum viewport when not specified
convertUnitstrue Should the plugin try to convert breakpoint units
rootFontSize16pxBase font-size for converting between rem and px
custom[]Custom utilities to add in name: [properties] format
Custom utilities

By default Tailwind Smart Fluid generates fluid versions of all default Tailwind spacing utilities.

It also adds a custom property that can be used for more complex situations—used with fl-var-[] and the --fluid-val property. This could be used within other property values or extended to other CSS functions.

If this doesn't meet your needs, you can also specify your own utilities in theme.fluid.extend:

// tailwind.config.js
module.exports = {
  theme: {
    fluid: {
      custom: {
        // specify properties to assign in an array, this will add the 'fl-flow-[]' utility
        'flow': ['--flow-space'],

        // for advanced use, provide a function to format your own properties
        'min-padding-x': value => ({
          'padding-left': `min(var(--min), ${value})`,
          'padding-right': `min(var(--min), ${value})`
        })
      }
    }
  }
}

Changelog

  • 0.3.0 — 29/06/22 — Added default --fluid-val custom property, ability to extend utilities and functional utilities
  • 0.2.3 — 17/06/22 — Fixed clamp output when second parameter is lower than first
  • 0.2.2 — 16/06/22 — Removed redundant console.log
  • 0.2.1 — 16/06/22 — Fixed default config not loading and some utilities not generating properly
  • 0.2.0 — 16/06/22 — Changed prefix to fl-
  • 0.1.0 — 10/06/22 — Initial release

License and Credits

This project is licensed under the Apache-2.0 license.

Copyright © 2022 Alistair Shepherd.

Description from the npm listing.

  • tailwind
  • tailwindcss
  • tailwindcss-plugin
  • fluid

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

tailwind-smart-fluid weekly downloads on npm, last 90 days: 5 weekly downloads as of Oct 18, 2026, +400% over 90 days.tailwind-smart-fluidWeekly downloads on npm · Last 90 days5downloads / week+400% over 90 days05101520Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
tailwind-smart-fluid weekly downloads on npm, last 90 days: 5 weekly downloads as of Oct 18, 2026, +400% over 90 days.

7/30/90-day growth

tailwind-smart-fluid weekly downloads growth on npm: -16.7% over 7 days, -70.6% over 30 days, +400% over 90 days.tailwind-smart-fluidWeekly downloads growth on npm5downloads / week now7-day growth-1 weekly downloads-16.7%30-day growth-12 weekly downloads-70.6%90-day growth+4 weekly downloads+400%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
tailwind-smart-fluid weekly downloads growth on npm: -16.7% over 7 days, -70.6% over 30 days, +400% over 90 days.

Ranking history

tailwind-smart-fluid npm ranking history: currently #2184 (by weekly downloads).tailwind-smart-fluidnpm ranking · by weekly downloads · Last 90 days#2184current rank#2155#2160#2165#2170#2175#2180#2185#2190Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
tailwind-smart-fluid npm ranking history: currently #2184 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,162 shown · page 110, #8 (overall #2,188)
All npm: every listing in weekly downloads order

Listing placement

Tailwind plugins252 listings · 13 pages · page 11, #19 (overall #219)
Tailwind plugins: every listing in weekly downloads order

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 (122)
Recent weekly downloads observations for tailwind-smart-fluid
Date (UTC)Weekly downloadsChange vs. previous
5+3
20
20
20
20
20
2-4
6+1
5-1
6-1
70
70
7-1
8—

Similar npm Tailwind plugins plugins

All 20 tailwind-smart-fluid alternatives

Data 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/tailwind-smart-fluid. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.