@opengraphplus/tailwind weekly downloads statistics
By opengraphplus · npm · Tailwind plugins
TailwindCSS plugin for OpenGraph+
@opengraphplus/tailwind has 13 recorded weekly downloads on npm, an increase of 225% over the past 30 days, ranking #3101 of 3,247 tracked listings.
About @opengraphplus/tailwind
OpenGraph+ Tailwind Plugin
TailwindCSS v4 plugin that adds variants for styling elements specifically for OpenGraph image generation via OpenGraph+.
Installation
npm install @opengraphplus/tailwind
Usage
In your CSS file where you import TailwindCSS:
@import "tailwindcss";
@plugin "@opengraphplus/tailwind";
Then use the ogplus: variant on any utility class:
<!-- Hide elements in OpenGraph images -->
<nav class="ogplus:hidden">...</nav>
<!-- Show elements only in OpenGraph images -->
<div class="hidden ogplus:block">Special OG content</div>
<!-- Different styling for OG -->
<h1 class="text-2xl ogplus:text-4xl">Title</h1>
Provider-Specific Variants
Target specific social platforms with provider variants:
<!-- Different padding per provider -->
<div class="ogplus:p-8 ogplus-linkedin:p-12 ogplus-twitter:p-6">
Content
</div>
<!-- Provider-specific backgrounds -->
<div class="ogplus:bg-slate-900 ogplus-twitter:bg-blue-500 ogplus-linkedin:bg-blue-700">
Content
</div>
Available provider variants:
ogplus-linkedin:- LinkedInogplus-twitter:- Twitter/Xogplus-facebook:- Facebookogplus-discord:- Discordogplus-whatsapp:- WhatsAppogplus-apple:- Apple (iMessage, etc.)ogplus-bluesky:- Bluesky
How It Works
This plugin adds custom variants that target the data-ogplus attribute on the <html> element. When OpenGraph+ renders your page for image generation, it adds this attribute:
<!-- Base render -->
<html data-ogplus>
<!-- Provider-specific render -->
<html data-ogplus="twitter">
The generated CSS uses :where() selectors to match these attributes:
/* ogplus:hidden generates */
:where([data-ogplus]) .ogplus\:hidden { display: none; }
/* ogplus-twitter:bg-blue-500 generates */
:where([data-ogplus="twitter"]) .ogplus-twitter\:bg-blue-500 { background-color: #3b82f6; }
Plain CSS Usage
You can also use the data attributes directly in your CSS without Tailwind:
/* Target all OpenGraph renders */
[data-ogplus] .nav,
[data-ogplus] .footer { display: none; }
[data-ogplus] .hero { padding: 60px; background: #0f172a; }
/* Target specific providers */
[data-ogplus="linkedin"] .hero { padding: 80px; }
[data-ogplus="twitter"] .hero { background: #1da1f2; }
Description from the npm listing.
- tailwindcss
- tailwindcss-plugin
- opengraph
- ogplus
- social-media
- css
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 (135)Similar npm Tailwind plugins plugins
All 20 @opengraphplus/tailwind 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/@opengraphplus/tailwind. First seen Nov 21, 2026; last successful collection Dec 6, 2026. See the methodology.