@designbycode/tailwindcss-text-shadow weekly downloads statistics
By designbycode (7 listings) · npm · Tailwind plugins
Tailwindcss utilities for text stroke
@designbycode/tailwindcss-text-shadow has 582 recorded weekly downloads on npm, a decrease of 1.2% over the past 30 days, ranking #2219 of 3,247 tracked listings.
About @designbycode/tailwindcss-text-shadow
Tailwind CSS Text Shadow Plugin
The Tailwind CSS Text Shadow Plugin extends the default set of utility classes in Tailwind CSS to provide easy text shadow customization for your web projects. With this plugin, you can apply custom text shadows using utility classes or define your own text shadow variations based on predefined steps and color palettes.

📇 Table of Contents
Installation
To use this plugin, you need to have Tailwind CSS installed in your project. If you haven't installed Tailwind CSS yet, follow these steps:
Using pnpm
pnpm add @designbycode/tailwindcss-text-shadow
Using npm
npm install @designbycode/tailwindcss-text-shadow
Using yarn
yarn add @designbycode/tailwindcss-text-shadow
Setup
- Add the Plugin to your Tailwind CSS Config In your tailwind.config.js file, add the plugin to the plugins array:
module.exports = {
// ...other configurations
plugins: [
// ...other plugins
require("@designbycode/tailwindcss-text-shadow"),
],
}
Default configuration styles
- If the default styles do not suit your preferences, you can effortlessly customize them using the following configuration options
module.exports = {
// ...other configurations
require("@designbycode/tailwindcss-text-shadow"
)
({
shadowColor: "rgba(0, 0, 0, 0.5)",
shadowBlur: "3px",
shadowOffsetX: "2px",
shadowOffsetY: "2px",
})
Use
Video Tutorial
See plugin in action in video below. 👇
Apply Text Shadows
Once the plugin is added to your Tailwind CSS configuration, you can use the provided utility classes to apply text shadows to your HTML elements.
<h1 class="text-4xl text-shadow ">Hello, Tailwind CSS!</h1>
Text shadow blur modifier
To make the spread or blur bigger add the .text-shadow-blur-{value}
<h1 class="text-4xl text-shadow text-shadow-blur-2 ">Hello, Tailwind CSS!</h1>
Text shadow x and y modifiers
The shadow can be moved on the xy axis using .text-shadow-x-{value} and .text-shadow-y-{value}
<h1 class="text-4xl text-shadow text-shadow-x-md text-shadow-y-lg text-shadow-blur-2 text-shadow-red">Hello, Tailwind CSS!</h1>
Text shadow color modifier
<h1 class="text-4xl text-shadow text-shadow-x-md text-shadow-y-lg text-shadow-blur-2 text-shadow-red-500">Hello, Tailwind CSS!</h1>
In the example above, the <h1> element will have a red text shadow with an x offset of 3px, a y offset of 4px, and a blur radius of 2px. The text-shadow class enables the text shadow styles, while the text-shadow-x-md,
text-shadow-y-lg, and
text-shadow-blur-2 classes customize the horizontal offset, vertical offset, and blur radius, respectively.
Text shadow color opacity
To change the opacity of the text-shadow-color use the following method
<h1 class="text-shadow text-shadow-red-500/10">Hello, Tailwind CSS!</h1>
<!-- with arbitrary values -->
<h1 class="text-shadow text-shadow-red-[rgb(0,0,0,0.5)]">Hello, Tailwind CSS!</h1>
<!-- or arbitrary with / -->
<h1 class="text-shadow text-shadow-red-[gray]/20">Hello, Tailwind CSS!</h1>
Warning New experimental long shadow feature
module.exports = {
// ...other configurations
require("@designbycode/tailwindcss-text-shadow"
)
({
experimental: true, // 👈
})
Note the latest version doesn't need experimental anymore
Long text shadow
The long shadow is a new experimental feature that I add. It creates shadow that stacks to any amount. The classes is .text-shadow-sm or .text-shadow-[steps]
<h1 class="text-shadow-sm text-shadow-blur-2 text-shadow-red">Hello, Tailwind CSS!</h1>
<!-- or -->
<h1 class="text-shadow-[1000]">Hello, Tailwind CSS!</h1>
Customization…
Description from the npm listing.
- front-end
- frontend
- css
- tailwindcss
- plugin
- tailwindcss-plugin
- tailwindcss text-shadow
- text-shadow
- designbycode
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 @designbycode/tailwindcss-text-shadow 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/@designbycode/tailwindcss-text-shadow. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.
