Skip to content
PluginStats

@rozsazoltan/tailwindcss-patterns weekly downloads statistics

By rozsazoltan · npm · Tailwind plugins

Tailwind CSS plugin to use Hero Patterns via pattern-* utility

View on npm Fresh · Dec 6, 2026

@rozsazoltan/tailwindcss-patterns has 21 recorded weekly downloads on npm, an increase of 23.5% over the past 30 days, ranking #2977 of 3,247 tracked listings.

Weekly downloads
21
Official API · Dec 5, 2026
7-day growth
+163%
+13 weekly downloads
30-day growth
+23.5%
+4 weekly downloads
90-day growth
+61.5%
+8 weekly downloads
Rank
#2977
▲ 24 in 7 days

About @rozsazoltan/tailwindcss-patterns

Tailwind CSS Patterns

npm

A simple tailwind plugin to display Hero Patterns.

Installation

npm i @rozsazoltan/tailwindcss-patterns

TailwindCSS v4

CSS entrypoint

@import "tailwindcss";
  
@plugin "@rozsazoltan/tailwindcss-patterns";
TailwindCSS v3

[!WARNING] It is important to note that the package has been rewritten in ESM, so it works exclusively in ESM environments. You will need to use postcss.config.mjs and tailwind.config.mjs; or declare "type": "module" in your package.json.

tailwindcss.config.ts

import type { Config } from 'tailwindcss'
import patternsPlugin from '@rozsazoltan/tailwindcss-patterns'

export default {
  content: [],
  theme: {
    extend: {},
  },
  plugins: [
    patternsPlugin(),
  ],
} satisfies Config

Usage

[!IMPORTANT] Breaking change: The original tailwindcss-hero-patterns plugin provided heropattern-* utilities. I believe that, with pattern-* being available, it's simpler to shorten the name, so in this plugin the utilities are now used as pattern-*.

<div class="flex m-2 relative w-40 h-40 sm:pb-0 sm:w-48 sm:h-48 bg-red-500">
  <div
    class="bg-repeat size-full text-primary-100 pattern-jigsaw-red-100"
  >
    <div class="text-sm inline">pattern-jigsaw-red-500</div>
  </div>
</div>

Here is the list of the available templates:

jigsaw, overcast, formalinvitation, topography, texture, jupiter, architect, cutout, hideout, graphpaper, yyy, squares, fallingtriangles, pianoman, piefactory, dominos, hexagons, charliebrown, autumn, temple, stampcollection, deathstar, churchonsunday, ilikefood, overlappinghexagons, fourpointstars, bamboo, bathroomfloor, corkscrew, happyintersection, kiwi, lips, lisbon, randomshapes, steelbeams, tinycheckers, xequals, anchorsaway, bevelcircle, brickwall, fancyrectangles, heavyrain, overlappingcircles, plus, roundedplusconnected, volcanolamp, wiggle, bubbles, cage, connections, current, diagonalstripes, flippeddiamonds, floatingcogs, glamorous, houndstooth, leaf, linesinmotion, moroccan, morphingdiamonds, rails, rain, skulls, squaresinsquares, stripes, tictactoe, zigzag, aztec, banknote, boxes, circlessquares, circuitboard, curtain, diagonallines, endlessclouds, eyes, floortile, groovy, intersectingcircles, melt, overlappingdiamonds, parkayfloor, pixeldots, polkadots, signal, slantedstars, wallpaper

Customization

In Tailwind CSS v4, you can customize under the --pattern-* namespace using CSS-first configuration. In Tailwind CSS v3, the theme.pattern key is available for JS-based configuration. Since the plugin was released primarily for v4 compatibility, I won't go into details regarding v3 configuration.

New pattern

You can publish a new pattern using the --pattern-* namespace:

@import "tailwindcss";
  
@plugin "@rozsazoltan/tailwindcss-patterns";

@theme {
  --pattern-piano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='46' viewBox='0 0 70 46'%3E%3Cg fill-rule='evenodd'%3E%3Cg %3E%3Cpolygon points='68 44 62 44 62 46 56 46 56 44 52 44 52 46 46 46 46 44 40 44 40 46 38 46 38 44 32 44 32 46 26 46 26 44 22 44 22 46 16 46 16 44 12 44 12 46 6 46 6 44 0 44 0 42 8 42 8 28 6 28 6 0 12 0 12 28 10 28 10 42 18 42 18 28 16 28 16 0 22 0 22 28 20 28 20 42 28 42 28 28 26 28 26 0 32 0 32 28 30 28 30 42 38 42 38 0 40 0 40 42 48 42 48 28 46 28 46 0 52 0 52 28 50 28 50 42 58 42 58 28 56 28 56 0 62 0 62 28 60 28 60 42 68 42 68 0 70 0 70 46 68 46'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
<div class="bg-repeat size-64 pattern-jigsaw-amber-500">
  ...
</div>

<div class="bg-repeat size-64 pattern-piano-sky-500">
  ...
</div>
Remove defaults

You can remove all default patterns; in this case, you will only be able to use the patterns you declare afterwards.

@import "tailwindcss";
  
@plugin "@rozsazoltan/tailwindcss-patterns";

@theme {
  /* Disable default patterns */
  --pattern-*: initial;
  /* Declare your patterns */
  --pattern-piano: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='46' viewBox='0 0 70 46'%3E%3Cg fill-rule='evenodd'%3E%3Cg %3E%3Cpolygon points='68 44 62 44 62 46 56 46 56 44 52 44 52 46 46 46 46 44 40 44 40 46 38 46 38 44 32 44 32 46 26 46 26 44 22 44 22 46 16 46 16 44 12 44 12 46 6 46 6 44 0 44 0 42 8 42 8 28 6 28 6 0 12 0 12 28 10 28 10 42 18 42 18 28 16 28 16 0 22 0 22 28 20 28 20 42 28 42 28 28 26 28 26 0 32 0 32 28 30 28 30 42 38 42 38 0 40 0 40 42 48 42 48 28 46 28 46 0 52 0 52 28 50 28 50 42 58 42 58 28 56 28 56 0 62 0 62 28 60 28 60 42 68 42 68 0 70 0 70 46 68 46'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
<div class="bg-repeat size-64 pattern-piano-sky-500">
  ...
</div>
Color

By default, the pattern-* utility uses the colors declared in --color-*. However, similar to the --text-color-* or --background-color-* namespaces, you can declare colors specifically for use by the pattern-* utility via the --pattern-color-* namespace.

@import "tailwindcss";
  
@plugin "@rozsazoltan/tailwindcss-patterns";

@theme {
  --pattern-color-brand: #555;
}
<div class="bg-repeat size-64 pattern-jigsaw-brand">
  ...
</div>
Opacity

The original tailwindcss-hero-patterns plugin handled this separately. However, starting from Tailwind CSS v4, the old bg-opacity-*, border-opacity-*, and other utilities were removed, so having a pattern-opacity-* utility doesn't make much sense. Instead, the opacity value can be passed as a modifier, similar to bg-sky-500/30.…

Description from the npm listing.

  • tailwindcss
  • tailwindcss-plugin
  • tailwindcss-utility
  • pattern-utility
  • patterns
  • hero-patterns

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

@rozsazoltan/tailwindcss-patterns weekly downloads on npm, last 90 days: 21 weekly downloads as of Dec 5, 2026, +61.5% over 90 days.@rozsazoltan/tailwindcss-patternsWeekly downloads on npm · Last 90 days21downloads / week+61.5% over 90 days01020304050Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@rozsazoltan/tailwindcss-patterns weekly downloads on npm, last 90 days: 21 weekly downloads as of Dec 5, 2026, +61.5% over 90 days.

7/30/90-day growth

@rozsazoltan/tailwindcss-patterns weekly downloads growth on npm: +163% over 7 days, +23.5% over 30 days, +61.5% over 90 days.@rozsazoltan/tailwindcss-patternsWeekly downloads growth on npm21downloads / week now7-day growth+13 weekly downloads+163%30-day growth+4 weekly downloads+23.5%90-day growth+8 weekly downloads+61.5%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@rozsazoltan/tailwindcss-patterns weekly downloads growth on npm: +163% over 7 days, +23.5% over 30 days, +61.5% over 90 days.

Ranking history

@rozsazoltan/tailwindcss-patterns npm ranking history: currently #2977 (by weekly downloads).@rozsazoltan/tailwindcss-patternsnpm ranking · by weekly downloads · Last 90 days#2977current rank#1800#2000#2200#2400#2600#2800#3000#3200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@rozsazoltan/tailwindcss-patterns npm ranking history: currently #2977 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 149, #19 (overall #2,979)
All npm: every listing in weekly downloads order

Listing placement

Tailwind plugins292 listings · 15 pages · page 9, #20 (overall #180)
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 (170)
Recent weekly downloads observations for @rozsazoltan/tailwindcss-patterns
Date (UTC)Weekly downloadsChange vs. previous
21+1
20+2
18+5
130
13+6
7+3
4-4
80
8+1
7+1
6+1
50
5-1
6—

Similar npm Tailwind plugins plugins

All 20 @rozsazoltan/tailwindcss-patterns 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/@rozsazoltan/tailwindcss-patterns. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.