Skip to content

tailwindlabs/prettier-plugin-tailwindcss

View on GitHub ↗Related repositories →

A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order.

active 2024-08-302026-08-08 (UTC)

Partial coverage14,175 / 17,071 hourly files (83%) · 2 absent upstream · 2,895 failed, retryable2024-08-302026-08-11 (UTC)— sampled evenly across the window, so rankings and trends hold; absolute counts scale up.
Events
1.3K
Pushes
69
Pull requests
49
Issues
56
Stars
898
Forks
32

Activity over time

Daily event counts in the loaded window

Line chart, 709 days from 2024-08-30 to 2026-08-08. Pushes: 69 total, peak 5 in a day. Pull requests: 49 total, peak 4 in a day. Issues: 56 total, peak 3 in a day. Comments: 155 total, peak 7 in a day. Stars: 898 total, peak 10 in a day.

  • Pushes
  • Pull requests
  • Issues
  • Comments
  • Stars

Stars, PRs, issues and forks are under-captured in the later part of this window. GH Archive progressively stopped capturing non-push events during 2026 — −95% or worse by the end of the window. Every series here except Pushes fades for that reason, so a decline above reflects the archive, not this repository. Pushes stay reliable throughout, so read them, and the contributor counts derived from them, as the real signal. Data health has the measurements.

Top contributors

Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity

Recent activity

Latest issues, pull requests and releases

  • Issue comment#464tokmo2026-06-11 01:49
    Won't sort classes in .svelte files
  • Issue comment#462firatciftci2026-05-24 03:25
    Fix Svelte class sorting with prettier-plugin-svelte v4
  • Issue comment#451VictorMascena2026-02-21 18:04
    Doesn't work with Astro
  • Issue comment#450leaysgur2026-02-13 02:13
    Use explicit import() expressions in plugin load arrays for bundler compatibility
  • Issue comment#450Dunqing2026-02-13 01:33
    Use explicit import() expressions in plugin load arrays for bundler compatibility
  • Pull request#450Dunqing2026-02-13 01:28
  • Pull request#445Boshen2026-02-05 13:21
  • Pull request#444Boshen2026-02-05 12:36
  • Pull request#442Dunqing2026-02-05 11:16
  • Pull request#443Dunqing2026-02-05 11:16
  • Pull request#437Dunqing2026-02-04 09:07
  • Pull request#420thecrypticace2026-02-04 07:56
  • Issue comment#420Boshen2026-02-04 07:56
    Remove top-level await from plugin
  • Pull request#432Dunqing2026-02-02 06:02
  • Pull request#434Boshen2026-02-02 06:00
  • Pull request#434Boshen2026-02-02 05:58
  • Issue comment#406gixxy222026-01-31 13:02
    Add option to disable sorting
  • Issue comment#433adamwathan2026-01-22 14:24
    Asking for maintenance / write permission
  • Pull request#432Dunqing2026-01-07 06:51
  • Issue comment#430Dunqing2025-12-24 17:12
    Export `getTailwindConfig` and `sortClasses` for `Oxfmt` formatter integration
  • Issue comment#428thecrypticace2025-12-24 16:58
    Improve `canCollapseWhitespaceIn` handling for `"tailwindPreserveWhitespace": true`
  • Issue comment#430Dunqing2025-12-24 16:56
    Export `getTailwindConfig` and `sortClasses` for `Oxfmt` formatter integration
  • Issue comment#430thecrypticace2025-12-24 16:54
    Export `getTailwindConfig` and `sortClasses` for `Oxfmt` formatter integration
  • Pull request#427Dunqing2025-12-24 16:33
  • Pull request#429Dunqing2025-12-24 16:31

Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 898 stars here means stars gained during the window, not the repo's star count.