@endorian/tailwindcss-plugin-twicpics weekly downloads statistics
By endorian · npm · Tailwind plugins
A Tailwind CSS plugin to use TwicPics's [Style-Driven Approach](https://www.twicpics.com/docs/components/next#style-driven-approach).
@endorian/tailwindcss-plugin-twicpics has 6 recorded weekly downloads on npm, a decrease of 53.8% over the past 30 days, ranking #2151 of 2,322 tracked listings.
About @endorian/tailwindcss-plugin-twicpics
tailwindcss-plugin-twicpics
A Tailwind CSS plugin to use TwicPics's Style-Driven Approach.
npm install --save-dev @endorian/tailwindcss-plugin-css-twicpics
Note: This plugin requires Tailwind CSS as peer dependency.
⚙️ Configuration
Add the plugin to your tailwind.config.js file:
Using CommonJS
// tailwind.config.js
module.exports = {
// ...
plugins: [require('@endorian/tailwindcss-plugin-twicpics')]
}
Using ES Modules
// tailwind.config.js
import tailwindcssPluginTwicPics from '@endorian/tailwindcss-plugin-twicpics'
module.exports = {
// ...
plugins: [tailwindcssPluginTwicPics]
}
🛠️ Usage
This plugin adds multiple utility classes to your Tailwind CSS configuration to use TwicPics's Style-Driven Approach. These utility classes will add CSS variables to the element containing the class.
Mode
.twic-mode-{mode}
This utility allows you to set the mode.
Possible modes from TwicPics' documentation are:
covercontain
<!-- Example -->
<div class="twic-mode-contain">
...
</div>
Position
.twic-position-{position}
This utility allows you to set the position.
Possible positions from TwicPics' documentation are:
toprightbottomleftcentertop-lefttop-rightbottom-leftbottom-right
<!-- Example -->
<div class="twic-position-top-right">
...
</div>
Ratio
.twic-ratio-{ratio}
This utility allows you to set the ratio.
Predefined values are:
square(1)video(16/9)landscape(4/3)portrait(2/3)
<!-- Example -->
<div class="twic-ratio-square">
...
</div>
You can add your ratios by extending your Tailwind CSS configuration like in the following example:
// tailwind.config.js
module.exports = {
theme: {
// ...
extend: {
// ...
twicRatio: {
'myratio': '1/2'
}
}
}
}
Transition delay
.twic-delay-{delay}
This utility allows you to set the delay. Per default, you can use Tailwind's transition delays.
<!-- Example -->
<div class="twic-delay-150">
...
</div>
You can add your TwicPics-related delays by extending your Tailwind CSS configuration like in the following example:
// tailwind.config.js
module.exports = {
theme: {
// ...
extend: {
// ...
twicTransitionDelay: {
'mydelay': '150ms'
}
}
}
}
Transition duration
.twic-duration-{duration}
This utility allows you to set the transition duration. Per default, you can use Tailwind's transition durations.
<!-- Example -->
<div class="twic-duration-300">
...
</div>
When you miss some durations, you can add your TwicPics-related durations by extending your Tailwind CSS configuration like in the following example:
// tailwind.config.js
module.exports = {
theme: {
// ...
extend: {
// ...
twicTransitionDuration: {
'myDuration': '300ms'
}
}
}
}
Transition timing functions
.twic-{easing}
This utility allows you to set the transition timing function. Per default, you can use Tailwind's transition timing functions.
<!-- Example -->
<div class="twic-in-out">
...
</div>
You can use your timing functions by extending your Tailwind CSS configuration, like in the following example:
// tailwind.config.js
module.exports = {
theme: {
// ...
extend: {
// ...
twicTransitionTimingFunction: {
'myTimingFunction': 'cubic-bezier(...)'
}
}
}
}
Zoom
.twic-zoom-{zoom}
This utility allows you to set the zoom.
Predefined zooms are:
1
<!-- Example -->
<div class="twic-zoom-1">
...
</div>
When you miss some zooms, you can add your TwicPics-related zooms by extending your Tailwind CSS configuration like in the following example:
// tailwind.config.js
module.exports = {
theme: {
// ...
extend: {
// ...
twicZoom: {
'myZoom': '2'
}
}
}
}
📄 License and Contribution
This plugin is licensed under the MIT License. Feel free to contribute by creating a merge request or by opening an issue if you find a bug or want to request a feature.
Description from the npm listing.
- tailwind
- tailwindcss
- tailwindcss-plugin
- twicpics
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 (122)Similar npm Tailwind plugins plugins
All 20 @endorian/tailwindcss-plugin-twicpics 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/@endorian/tailwindcss-plugin-twicpics. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.