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

text-wind

v1.8.1

Published

Architectural text typography for Tailwind CSS. No breakpoints, no config edits, no rebuilds.

Downloads

712

Readme

Textwind

A complete typography system for Tailwind with inline scale modifiers. No breakpoints, no config edits, no rebuilds.

Textwind gives you fluid sizing, font family utilities, color utilities, and optical tracking adjustments in one Tailwind plugin.

Features

  • Inline scale modifiers like text-fluid-heading/80
  • Arbitrary modifier support like text-fluid-heading/[73]
  • 11 Professional Fluid Types: display, heading, subheading, title, body, label, overline, callout, caption, footnote, code
  • Hierarchical Font Families: Consistent tokens for all 11 types
  • Systematic Colors: Core tokens like heading, body, muted, accent, and callout
  • Optical tracking that scales with the text size
  • Non-linear easing support: Custom curvature for fluid growth (linear, in, out, in-out)
  • Tailwind CSS v3.4+ and v4.x compatible

Install

npm install text-wind

Tailwind v3

// tailwind.config.ts
import textwind from 'text-wind';

export default {
  content: ['./src/**/*.{ts,tsx,js,jsx,mdx}'],
  plugins: [
    textwind(),
  ],
};
/* globals.css */
@layer theme {
  --fluid-vw-min: 320px;
  --fluid-vw-max: 1280px;

  --font-family-heading: "Inter", system-ui, sans-serif;
  --font-family-subheading: "Inter", system-ui, sans-serif;
  --font-family-body: "Inter", system-ui, sans-serif;
  --font-family-mono: "Fira Code", "Courier New", monospace;
  --font-family-display: "Playfair Display", serif;

  --color-text-heading: #0a0a0a;
  --color-text-subheading: #1a1a1a;
  --color-text-body: #404040;
  --color-text-muted: #737373;
  --color-text-accent: #3b82f6;

  --fluid-heading-min: 1.75rem;
  --fluid-heading-max: 3.5rem;
  --fluid-heading-lh-min: 1.1;
  --fluid-heading-lh-max: 1.2;
  --fluid-heading-weight: 700;
  --fluid-heading-tracking: -0.02em;
}

Tailwind v4

@import "tailwindcss";
@plugin "text-wind";

@theme {
  --fluid-vw-min: 320px;
  --fluid-vw-max: 1280px;
}

Usage

<h1 className="font-heading text-fluid-heading text-heading-color">
  Hero title
</h1>

<h2 className="font-display text-fluid-display/80 text-heading-color/90">
  Extreme Display Case
</h2>

<p className="font-body text-fluid-body text-body-color/80">
  Body copy with fluid line-height and proportional tracking.
</p>

<span className="font-overline text-fluid-overline text-muted-color uppercase tracking-widest">
  Section Divider
</span>

Plugin Options

textwind({
  scales: [50, 60, 70, 80, 90, 100, 110, 120, 150, 200],
  viewportMin: 320,
  viewportMax: 1280,
  textTypes: {
    hero: {
      minSize: '2.5rem',
      maxSize: '5rem',
      minLineHeight: 1.05,
      maxLineHeight: 1.1,
      weight: 800,
      letterSpacing: '-0.03em',
    },
  },
  fontFamilies: {
    heading: '"Inter", system-ui, sans-serif',
  },
  colors: {
    heading: '#0a0a0a',
    accent: '#3b82f6',
  },
  opacitySteps: [10, 20, 30, 40, 50, 60, 70, 80, 90, 95],
});

Docs

License

MIT