Skip to content
PluginStats

@nauverse/tailwind-dot-grid-backgrounds weekly downloads statistics

By nauverse · npm · Tailwind plugins

A tiny Tailwind CSS v4 plugin to add customizable dot and grid backgrounds fast, in pure CSS

View on npm Fresh · Oct 17, 2026

@nauverse/tailwind-dot-grid-backgrounds has 36 recorded weekly downloads on npm, a decrease of 28.0% over the past 30 days.

It ranks #1773 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -23.4%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
36
Official API · Oct 17, 2026
7-day growth
-82.7%
-172 weekly downloads
30-day growth
-28.0%
-14 weekly downloads
90-day growth
-23.4%
-11 weekly downloads
Rank
#1773
Among tracked npm listings

About @nauverse/tailwind-dot-grid-backgrounds

tailwind-dot-grid-backgrounds

A tiny Tailwind CSS plugin to add customizable dot and grid backgrounds fast, in pure CSS

tl;dr • Guide and examples • Migrating from v1 • Help • Contribute

| Plugin version | Tailwind CSS | How it works | Branch |

| 2.x (latest) | ^4.0 | Pure CSS (@utility), no JavaScript | main | | 1.x | ^3.4 | JavaScript plugin | v1 (maintenance, docs) |

Still on Tailwind CSS v3? Install the v1 line: npm install --save-dev @nauverse/tailwind-dot-grid-backgrounds@1.

tl;dr

This is a Tailwind CSS v4 plugin that allows you to add background grids and background dots in an easy and customizable way.

1. Install the dependency

2. Import it in your CSS, after Tailwind CSS

3. You are done!

Try it by adding this HTML to your UI:

What

You could achieve the same by just using some Tailwind CSS code but... I found myself adding this kind of background in my projects very often. So I created a small Tailwind CSS plugin to allow me adding these backgrounds while keeping all the customization offered by Tailwind CSS.

Features

• Fully integrated with Tailwind CSS: theme colors, opacity modifiers, the spacing scale, arbitrary values and every variant (hover:, md:, dark:...) • Pure CSS: just an @import, no JavaScript and no configuration • Performant: the backgrounds are CSS gradients, and only the classes you use are generated • Zero dependencies • Tested against the latest and the oldest supported Tailwind CSS v4 releases

Guide and examples

A pattern is drawn by its color class. Its size and line (or dot) width are optional classes that you can combine with it, so each part can change on its own with variants (for example md:bg-grid-size-12).

Background grid

| Class | What it sets | Default |

| bg-grid- | Draws the grid with this line color | - | | bg-grid-size- | The size of the squares, in spacing units (like w-) | 8 (2rem) | | bg-grid-stroke- | The width of the lines, in pixels | 1 (1px) |

• accepts any theme color (neutral-950, your own --color-* variables) with an optional opacity modifier (bg-grid-blue-700/80, bg-grid-blue-700/[35%]), arbitrary values (bg-grid-[#ff0000]), CSS variables (bg-grid-(--my-color)) and current (bg-grid-current has no opacity modifier: use bg-grid-[color-mix(in_oklab,currentcolor_50%,transparent)] instead). • bg-grid-size-* also accepts --spacing-* theme keys (bg-grid-size-cell with --spacing-cell: 18px), arbitrary lengths (bg-grid-size-[18px]) and CSS variables (bg-grid-size-(--cell)). • bg-grid-stroke-* also accepts decimals (bg-grid-stroke-0.5), arbitrary lengths (bg-grid-stroke-[0.1rem]) and CSS variables (bg-grid-stroke-(--line)). • Arbitrary values are not validated, like in Tailwind CSS itself: bg-grid-[10px] generates a class that draws nothing.

Examples:

bg-grid-neutral-950 bg-grid-size-8 bg-grid-stroke-2

bg-grid-blue-700/80 bg-grid-size-48 bg-grid-stroke-8

Background dots

| Class | What it sets | Default |

| bg-dot- | Draws the dots with this color | - | | bg-dot-size- | The distance between the dots (in both axes), in spacing units | 8 (2rem) | | bg-dot-radius- | The radius of the dots, in pixels | 1 (1px) |

They accept the same values as their grid counterparts.

Examples:

bg-dot-neutral-950 bg-dot-size-8 bg-dot-radius-2

bg-dot-blue-700/80 bg-dot-size-16 bg-dot-radius-8

Customizing

Everything comes from your Tailwind CSS theme:

The pattern settings are stored in the --bg-grid-color, --bg-grid-size, --bg-grid-stroke, --bg-dot-color, --bg-dot-size and --bg-dot-radius CSS variables. They are registered with @property as non-inherited, so a pattern never leaks into the patterns of its children.

Migrating from v1

Version 2 is for Tailwind CSS v4. It is a pure CSS plugin, and each part of a pattern is now its own class.

1. Upgrade to Tailwind CSS v4 (upgrade guide). 2. Install the latest version: npm install --save-dev @nauverse/tailwind-dot-grid-backgrounds@latest. 3. Remove the plugin from your tailwind.config.* plugins (or the @plugin directive) and add @import "@nauverse/tailwind-dot-grid-backgrounds"; after @import "tailwindcss";. 4. Replace the classes. , / and keep the same values:

| v1 | v2 | | -- | -- | | bg-grid--s-- | bg-grid- bg-grid-size- bg-grid-stroke- | | bg-dot--s-- | bg-dot- bg-dot-size- bg-dot-radius- | | bg-grid-8-s-2-neutral-950 | bg-grid-neutral-950 bg-grid-size-8 bg-grid-stroke-2 | | bg-dot-16-s-8-blue-700/80 | bg-dot-blue-700/80 bg-dot-size-16 bg-dot-radius-8 | | bg-grid-px-s-1-red-500 | bg-grid-red-500 bg-grid-size-[1px] |

Sizes now follow your spacing scale (--spacing) instead of being converted to pixels, and the stroke width and dot radius default to 1px, so bg-grid- bg-grid-size- is enough for 1px lines.

Help

Thank you for using *tailwind-dot-grid-backgrounds*!

If you need any help using this plugin, feel free to create a GitHub issue, and ask your questions. I'll try to answer as quickly as possible.

Contribute

Contributions of any kind (pull requests, bug reports, feature requests, documentation, design) are more than welcome! Read the contributing guide to get started (and AGENTS.md if you use a coding agent).

Contributors

Thanks goes to these wonderful people (emoji key):

Al | Naucode 🐛 💻 📖 🚧 🚇 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

Description from the npm listing.

  • tailwind
  • tailwindcss
  • tailwindcss-v4
  • tailwindcss-plugin
  • css
  • grid-background
  • dot-background
  • background-pattern

Where @nauverse/tailwind-dot-grid-backgrounds sits in the listing

Each band is one page of 20. Weekly downloads on a log 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.

All npm2,248 listings · 113 pages · page 89, #14 (overall #1774)
All npm: every listing in weekly downloads order
PNG SVG
Tailwind plugins251 listings · 13 pages · page 4, #18 (overall #78)
Tailwind plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@nauverse/tailwind-dot-grid-backgrounds weekly downloads on npm, last 90 days: 36 weekly downloads as of Oct 17, 2026, -23.4% over 90 days.@nauverse/tailwind-dot-grid-backgroundsWeekly downloads on npm · Last 90 days36downloads / week-23.4% over 90 days0100200300400500Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
@nauverse/tailwind-dot-grid-backgrounds weekly downloads on npm, last 90 days: 36 weekly downloads as of Oct 17, 2026, -23.4% over 90 days.
PNG SVG

7/30/90-day growth

@nauverse/tailwind-dot-grid-backgrounds weekly downloads growth on npm: -82.7% over 7 days, -28.0% over 30 days, -23.4% over 90 days.@nauverse/tailwind-dot-grid-backgroundsWeekly downloads growth on npm36downloads / week now7-day growth-172 weekly downloads-82.7%30-day growth-14 weekly downloads-28.0%90-day growth-11 weekly downloads-23.4%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@nauverse/tailwind-dot-grid-backgrounds weekly downloads growth on npm: -82.7% over 7 days, -28.0% over 30 days, -23.4% over 90 days.
PNG SVG

Ranking history

@nauverse/tailwind-dot-grid-backgrounds npm ranking history: currently #1773 (by weekly downloads).@nauverse/tailwind-dot-grid-backgroundsnpm ranking · by weekly downloads · Last 90 days#1773current rank#1771#1772#1773#1774#1775Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
@nauverse/tailwind-dot-grid-backgrounds npm ranking history: currently #1773 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (121)
Recent weekly downloads observations for @nauverse/tailwind-dot-grid-backgrounds
Date (UTC)Weekly downloadsChange vs. previous
36-2
38-38
76-56
132-74
2060
206-4
210+2
208-13
221+9
212-19
231-213
444-34
478-21
499—

Similar npm Tailwind plugins plugins

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/@nauverse/tailwind-dot-grid-backgrounds. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.