Skip to content
PluginStats

tailwindcss-border-image weekly downloads statistics

By sebagnz · npm · Tailwind plugins

Tailwind CSS plugin to add border-image utilities.

View on npm Fresh · Dec 6, 2026

tailwindcss-border-image has 1,299 recorded weekly downloads on npm, an increase of 42.9% over the past 30 days, ranking #2006 of 3,247 tracked listings.

Weekly downloads
1,299
Official API · Dec 5, 2026
7-day growth
+14.9%
+168 weekly downloads
30-day growth
+42.9%
+390 weekly downloads
90-day growth
+132%
+740 weekly downloads
Rank
#2006
▼ 58 in 7 days

About tailwindcss-border-image

<!-- HEADING --> <br /> <div align="center"> <a href="https://github.com/sebagnz/tailwindcss-border-image"> <img src="https://raw.githubusercontent.com/sebagnz/tailwindcss-border-image/HEAD/.github/tailwind-logo.png" alt="Tailwind logo" width="80"> </a> <h3 align="center">Tailwind CSS border-image plugin</h3> <p align="center"> A tailwind plugin that provides primitives to work and fully customize the CSS <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/border-image">border-image</a> property. <br /> <br /> <a href="https://sebagnz.github.io/tailwindcss-border-image">View demo</a> · <a href="https://github.com/sebagnz/tailwindcss-border-image/issues/new?labels=bug&template=bug-report---.md">Report bug</a> · <a href="https://github.com/sebagnz/tailwindcss-border-image/issues/new?labels=enhancement&template=feature-request---.md">Request feature</a> </p> </div> <!-- TABLE OF CONTENTS --> <details> <summary>Table of contents</summary> <ol> <li><a href="#the-plugin">The plugin</a></li> <li><a href="#browser-compatibility">Browser compatibility</a></li> <li><a href="#getting-started">Getting started</a></li> <li><a href="#utilities">Utilities</a></li> <ul> <li><a href="#source">Source</a></li> <li><a href="#slice">Slice</a></li> <li><a href="#slice-fill">Slice fill</a></li> <li><a href="#width">Width</a></li> <li><a href="#outset">Outset</a></li> <li><a href="#repeat">Repeat</a></li> </ul> <li><a href="#resources">Resources</a></li> <li><a href="#support-my-work">Support my work</a></li> </ol> </details>

The plugin

Tailwind CSS doesn't provide support for border-image out of the box, therefore this plugin aims to provide you with a set of utilities to meet that need.

The plugin it's not opinionated, meaning it doesn't provide any UI components nor override any of the tailwind's default configuration or values.

As an example, it makes it possible for this css:

div {
 border-image: linear-gradient(to left, #581c87, #d8b4fe) 1 fill / 0 / 0 100% stretch;
}

to be written with tailwind:

<div
  class="border-image-gradient-to-l form-indigo-900 to-indigo-300 border-slice-1 border-width-0 border-outset-x-full border-repeat-stretch"
></div>

Browser compatibility

The border-image property is widely supported, even since IE. You can check its support [here][can-i-use-border-image].

Getting started

npm install -D tailwindcss-border-image
// tailwind.config.js
module.exports = {
  theme: {
    // ...
  },
  plugins: [
    require('tailwindcss-border-image'),
    // ...
  ],
}

Utilities

The CSS border-image syntax follows this schema:

border-image: <source> <slice>/<width>/<outset> <repeat>

Basically it's a short-hand for setting border-image-source, border-image-slice, border-image-width, border-image-outset and border-image-repeat in a one-liner.

This plugin will provide you with utilities to work with each one of them in a tailwind CSS fashion.

Source

Required

UtilityValues
border-image-{theme.backgroundImage}
border-image-{arbitrary}

The border-image-source CSS property sets the source image used to create an element's border image. (Keep in mind that all gradients are also considered images).

To set the border-image source you can use the border-image-{value}.

{value} can be anything defined in your theme.backgroundImage meaning that any gradient or image resource included in your theme can be used as a border image source. For example border-image-gradient-to-t.

It also supports arbitrary values, that way if you don't want to add an specific backgroundImage to your theme you can just inline it. For example: border-image-[conic-gradient(var(--tw-gradient-stops) 0 0)]

Slice

Default: 0

The border-image-slice has it's own set of values that can be extended or overwritten through the borderSlice property on the tailwind.config.js.

Since border-image-slice works with unitless values (no pixels, rems, etc) it's the only property that requires custom values.

The default theme.spacing values can't be used because they contain units (rem). The borderSlice values follow the same pattern as the default spacing, width or height that we are used to but without units.

UtilityValues
border-slice-{theme.borderSlice} / {arbitrary}Sets a value for all four slices
border-slice-x-{theme.borderSlice} / {arbitrary}Sets a value for the left and right slices
border-slice-y-{theme.borderSlice} / {arbitrary}Sets a value for the top and bottom slices
border-slice-t-{theme.borderSlice} / {arbitrary}Sets a value for the top slice
border-slice-r-{theme.borderSlice} / {arbitrary}Sets a value for the right slice
border-slice-b-{theme.borderSlice} / {arbitrary}Sets a value for the bottom slice
border-slice-l-{theme.borderSlice} / {arbitrary}Sets a value for the left slice

The border-image-slice CSS property divides the image specified by border-image-source into regions. These regions form the components of an element's border image.

The slice property accepts up to four values, acting also as a short-hand (like margin and border properties do). This means that if you provide one value it will be used for the four slices.

This plugin also proivdes utilities to set only x, y or individual values if you need to customize each of them individually.

Slice fill…

Description from the npm listing.

  • tailwindcss
  • tailwindcss-plugin
  • border-image
  • css border-image

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

tailwindcss-border-image weekly downloads on npm, last 90 days: 1,299 weekly downloads as of Dec 5, 2026, +132% over 90 days.tailwindcss-border-imageWeekly downloads on npm · Last 90 days1,299downloads / week+132% over 90 days02004006008001K1.2K1.4KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
tailwindcss-border-image weekly downloads on npm, last 90 days: 1,299 weekly downloads as of Dec 5, 2026, +132% over 90 days.

7/30/90-day growth

tailwindcss-border-image weekly downloads growth on npm: +14.9% over 7 days, +42.9% over 30 days, +132% over 90 days.tailwindcss-border-imageWeekly downloads growth on npm1,299downloads / week now7-day growth+168 weekly downloads+14.9%30-day growth+390 weekly downloads+42.9%90-day growth+740 weekly downloads+132%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
tailwindcss-border-image weekly downloads growth on npm: +14.9% over 7 days, +42.9% over 30 days, +132% over 90 days.

Ranking history

tailwindcss-border-image npm ranking history: currently #2006 (by weekly downloads).tailwindcss-border-imagenpm ranking · by weekly downloads · Last 90 days#2006current rank#1500#1600#1700#1800#1900#2000#2100Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
tailwindcss-border-image npm ranking history: currently #2006 (by weekly downloads).

Listing placement

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

Listing placement

Tailwind plugins292 listings · 15 pages · page 2, #8 (overall #28)
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 tailwindcss-border-image
Date (UTC)Weekly downloadsChange vs. previous
1,299+52
1,247-31
1,278-18
1,296+88
1,208+108
1,100-29
1,129-2
1,131+11
1,120+61
1,059+27
1,032+88
944-11
955+107
848—

Similar npm Tailwind plugins plugins

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