Is it a bad practice to build WP Plugins that depend on CSS libraries and JS frameworks?

Hey all,

I’ve done a fair bit of WP theme development so far and more recently I’ve started developing plugins.

I want to build a custom form plugin which I would use in several WordPress installations.

For the most part, my WP themes are all built with Tailwind CSS and either Alpine or Vue.

Now, I’m wondering if it’s a good idea to write a plugin which is dependent on these libraries. The obvious concern being that I might want to use it on a website that works with different libraries (jQuery, React, etc.).

I have zero patience with writing vanilla CSS, and am pretty hopeless without Tailwind.

I’m guessing one approach might be to set up a build process within the plugin itself.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer