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

@tmbr/tailwind

v1.1.1

Published

Tailwind plugin for effortless fluid properties

Downloads

199

Readme

TMBR Tailwind

A Tailwind CSS plugin that generates utility classes for fluid properties using clamp(). Heavily inspired by fluid-tailwindcss.

Installation

npm install @tmbr/tailwind
@import 'tailwindcss';
@plugin '@tmbr/tailwind';

Override the default 375 and 1680 viewport values:

@import 'tailwindcss';
@plugin '@tmbr/tailwind' {
  vmin: 320;
  vmax: 1920;
};

Usage

All values are written as px and converted to rem:

<div class="f-p-[16,32]">
<!-- padding: clamp(1rem, 0.713rem + 1.23vw, 2rem) -->

<div class="f-text-[24,36]">
<!-- font-size: clamp(1.5rem, 1.284rem + 0.92vw, 2.25rem) -->

<div class="f-gap-[10,20]">
<!-- gap: clamp(0.625rem, 0.445rem + 0.77vw, 1.25rem) -->

Viewport Overrides

Override the default min viewport width (375), the max viewport width (1680), or both by passing additional values:

<!-- override both min and max-->
<div class="f-p-[16,32,400,800]">

<!-- override min (uses default max) -->
<div class="f-p-[16,32,400]">

<!-- override max (uses default min) - empty value without spaces -->
<div class="f-p-[16,32,,800]">

Negative values:

<div class="f-mt-[-16,-32]">
<!-- margin-top: clamp(-1rem, ..., -2rem) -->

Quick Reference

| Syntax | Output | |------------------------| --------------------------------------------------| | f-text-[16,20] | clamp(1rem, ..., 1.25rem) - px converted to rem | | f-p-[40,60,800,1200] | custom viewports (800-1200px, converted to rem) | | f-p-[20,30,,800] | default min, custom max | | f-p-[10,20,400] | custom min, default max | | f-mt-[-16,-32] | negative values |

Available Utilities

| Category | Utilities | |------------|-------------------------------------------------------------------------------------------| | Margin | f-m, f-mx, f-my, f-mt, f-mr, f-mb, f-ml | | Padding | f-p, f-px, f-py, f-pt, f-pr, f-pb, f-pl | | Typography | f-text, f-leading, f-tracking | | Sizing | f-w, f-h, f-size, f-min-w, f-max-w, f-min-h, f-max-h | | Gap | f-gap, f-gap-x, f-gap-y | | Position | f-inset, f-inset-x, f-inset-y, f-top, f-right, f-bottom, f-left | | Border | f-rounded, f-rounded-t/r/b/l, f-rounded-tl/tr/br/bl, f-border, f-border-t/r/b/l | | Flex | f-basis |