tailugin weekly downloads statistics
By meluiz · npm · Tailwind plugins
A collection of Tailwind CSS v4 utilities — enter/exit animations, semantic state variants, OKLCH color palettes, and easing tokens.
tailugin has 24 recorded weekly downloads on npm, a decrease of 35.1% over the past 30 days, ranking #2951 of 3,247 tracked listings.
About tailugin
tailugin
A collection of Tailwind CSS v4 utilities: enter/exit animations, semantic state variants, OKLCH color palettes, and easing tokens — all authored with native v4 directives (@utility, @custom-variant, @theme), so they compose exactly like built-in classes.
Requires Tailwind CSS v4. tailugin uses the v4 CSS-first architecture. It does not work with v3.
Installation
bun add tailugin
# or
npm install tailugin
Usage
Import Tailwind, then tailugin, in your entry CSS:
@import "tailwindcss";
@import "tailugin";
That's the whole setup. Everything below is now available as utility classes and variants.
Prefer to pull in only what you need? Every module has its own entry point — see Granular imports.
Modules
tailugin is organized into four independent modules:
| Module | What it adds | Import |
|---|---|---|
| theme | 13 color palettes + 22 easing tokens | tailugin/theme |
| variants | 40 semantic state variants | tailugin/variants |
| utilities | Animation, sizing and alignment | tailugin/utilities |
| preflight | Text wrapping refinements | tailugin/preflight |
Colors
13 OKLCH palettes, each with a 12-step ramp (50–975). They add to Tailwind's default colors — nothing native is overwritten, so bg-blue-500 and bg-cactus-500 coexist.
<div class="bg-cactus-500 text-clay-50 border-dusk-200">…</div>
Available palettes: cactus, clay, dusk, fig, heather, kraft, lagoon, manila, moss, orchid, silt, sumac, woad.
Every palette is built the same way — one lightness ramp, one chroma curve, and a single hue — so swapping one for another keeps contrast consistent across your UI.
sumac (red) and woad (indigo) fill the two widest gaps on the hue wheel. They are named after the dye plants rather than the colors so they never shadow Tailwind's own red and indigo, which stay available alongside them.
Picking a step
Because the lightness ramp is shared, every palette crosses the WCAG thresholds at the same step. Pick the step by its job, not by the color:
| On a light surface | Passes | Contrast | Use for |
|---|---|---|---|
50–200 | — | 1.1–1.5 | Page and card backgrounds, subtle fills |
300–400 | — | 1.9–2.8 | Dividers, disabled text, decorative only |
500 | ≥ 3:1 | 3.5–3.9 | Borders, icons, focus rings, large headings |
600 | ≥ 4.5:1 | 5.0–5.5 | Body text — the lowest step that passes AA |
700–975 | ≥ 7:1 | 7.0–19.5 | Body text and headings, AAA |
On silt-950 (dark) | Passes | Contrast | Use for |
|---|---|---|---|
50–400 | ≥ 4.5:1 | 6.3–15.9 | Body text and headings |
500 | ~4.5:1 | 4.48–4.97 | Large text and headings (see note) |
600 | ≥ 3:1 | 3.2–3.5 | Borders, icons, focus rings |
700–900 | — | 1.4–2.5 | Raised surfaces, dividers, decorative only |
975 | — | 1.3 | The surface below the page background |
On a dark surface, step
500sits right on the AA line. It clears 4.5:1 for eleven palettes but lands at 4.48 and 4.49 forsumacandclay, the two most saturated ones. Use400when the text is small.
Every swatch fits inside sRGB, so nothing shifts on displays without a P3 gamut.
The dark end
950 is a charcoal rather than a near-black, which is deliberate — the ramp is drawn for light interfaces first. 975 is the extra anchor below it, six lightness points down, the same gap that separates 800 from 900. That is enough separation to read as elevation without a shadow:
| Layer | Step |
|---|---|
| Page background | 975 |
| Raised surface | 950 |
| Border | 900 / 800 |
Animations
Enter/exit animations built on two base utilities — animate-in and animate-out — combined with modifier utilities that describe the motion.
<!-- A popover that fades, zooms, and slides in from the top -->
<div class="animate-in fade-in zoom-in slide-in-top-2 duration-200">…</div>
How it works
animate-in / animate-out are the triggers — they start the animation. The modifiers (fade-in, zoom-in, slide-in-top-*, …) only describe how the element moves; on their own they do nothing until a trigger runs. This means you can put the modifiers on the element unconditionally and only toggle the trigger:
<div
class="fade-in slide-in-top-2 fade-out slide-out-top-2
is-open:animate-in is-closed:animate-out duration-200"
>
…
</div>
The state prefix appears twice (on the triggers), not on every modifier.
Timing
Duration and easing use Tailwind's native utilities — no special classes needed:
<div class="animate-in fade-in duration-300 ease-out-expo">…</div>
duration-*— sets the animation duration (defaults to150ms).ease-*— sets the timing function (see Easings).delay-*— sets the animation delay.
Modifiers…
Description from the npm listing.
- css
- tailwind
- tailwindcss
- tailwindcss-plugin
- tailwind-v4
- animate
- animation
- enter-exit
- transition
- variants
- custom-variant
- data-attributes
- aria
- colors
- color-palette
- oklch
- easing
- easings
- preflight
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 tailugin 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/tailugin. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.