@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
@nauverse/tailwind-dot-grid-backgrounds has 107 recorded weekly downloads on npm, a decrease of 71.1% over the past 30 days, ranking #2614 of 3,247 tracked listings.
About @nauverse/tailwind-dot-grid-backgrounds
| 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
npm install --save-dev @nauverse/tailwind-dot-grid-backgrounds
2. Import it in your CSS, after Tailwind CSS
@import "tailwindcss";
@import "@nauverse/tailwind-dot-grid-backgrounds";
3. You are done!
Try it by adding this HTML to your UI:
<div class="h-screen w-screen bg-yellow-300 bg-grid-neutral-950 bg-grid-size-8 bg-grid-stroke-2"></div>
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-<color> | Draws the grid with this line color | - |
bg-grid-size-<number> | The size of the squares, in spacing units (like w-<number>) | 8 (2rem) |
bg-grid-stroke-<number> | The width of the lines, in pixels | 1 (1px) |
<color>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)) andcurrent(bg-grid-currenthas no opacity modifier: usebg-grid-[color-mix(in_oklab,currentcolor_50%,transparent)]instead).bg-grid-size-*also accepts--spacing-*theme keys (bg-grid-size-cellwith--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-<color> | Draws the dots with this color | - |
bg-dot-size-<number> | The distance between the dots (in both axes), in spacing units | 8 (2rem) |
bg-dot-radius-<number> | The radius of the dots, in pixels | 1 (1px) |
They accept the same values as their grid counterparts.…
Description from the npm listing.
- tailwind
- tailwindcss
- tailwindcss-v4
- tailwindcss-plugin
- css
- grid-background
- dot-background
- background-pattern
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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)Similar npm Tailwind plugins plugins
All 20 @nauverse/tailwind-dot-grid-backgrounds alternativesData 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 Dec 6, 2026. See the methodology.