tailwindcss-aria-attributes weekly downloads statistics
By danestves · npm · Tailwind plugins
aria-* attribute utility plugin for TailwindCSS
tailwindcss-aria-attributes has 12,818 recorded weekly downloads on npm, an increase of 27.6% over the past 30 days, ranking #1190 of 3,247 tracked listings.
About tailwindcss-aria-attributes
Welcome to tailwindcss-aria-attributes 👋
Variants for several aria-* attributes and their supported values for TailwindCSS.
TailwindCSS aria-* attribute utilities plugin
This is a fork from @thoughtbot/tailwindcss-aria-attributes that is not currently on NPM
Install
# Using npm
npm install -D tailwindcss-aria-attributes
# Using yarn
yarn add --dev tailwindcss-aria-attributes
# Using pnpm
pnpm add --D tailwindcss-aria-attributes
Then add the plugin to your tailwind.config.js file:
// tailwind.config.js
module.exports = {
// ...
plugins: [
require('tailwindcss-aria-attributes'),
// ...
],
};
Usage
The versions support two different types of attributes: boolean attributes and enumerated values.
Attributes can be found in both groups in some circumstances.
Boolean attributes
When the value of a boolean attribute is "true" and only "true", the variants for that attribute are active. When an attribute is absent or has the value "false", utility classes will be used as usual.
The following boolean attributes are supported by the variation's collection:
| Attribute | Variant |
|---|---|
| aria-atomic="true" | aria-atomic: |
| aria-busy="true" | aria-busy: |
| aria-checked="true" | aria-checked: |
| aria-current="true" | aria-current: |
| aria-disabled="true" | aria-disabled: |
| aria-expanded="true" | aria-expanded: |
| aria-grabbed="true" | aria-grabbed: |
| aria-haspopup="true" | aria-haspopup: |
| aria-hidden="true" | aria-hidden: |
| aria-invalid="true" | aria-invalid: |
| aria-live="true" | aria-live: |
| aria-modal="true" | aria-modal: |
| aria-multiline="true" | aria-multiline: |
| aria-multiselectable="true" | aria-multiselectable: |
| aria-pressed="true" | aria-pressed: |
| aria-readonly="true" | aria-readonly: |
| aria-required="true" | aria-required: |
| aria-selected="true" | aria-selected: |
Prefix the attribute name with aria- and leave the value blank to use a boolean variant:
<ul role="listbox">
<li role="option" class="aria-selected:border">Not selected</li>
<li role="option" class="aria-selected:border" aria-selected="true">
Selected
</li>
</ul>
<button class="aria-disabled:cursor-not-allowed" aria-disabled="true">
Submit
</button>
Enumerated values
When the value is equivalent to the variant's suffix, the variants for enumerated values are active.
When an attribute is absent or the value does not match the provided suffix, utility classes will be used as usual.
The following properties and value combinations are supported by the variations' collection:…
Description from the npm listing.
- tailwindcss
- tailwindcss-plugin
- aria
- aria-attributes
- aria-current
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 (592)Similar npm Tailwind plugins plugins
All 20 tailwindcss-aria-attributes 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/tailwindcss-aria-attributes. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.