In styled mode, Tailwind utilities may not be able to override the default styling due to css specificity, there are two possible solutions.
+Use the ! as a prefix to enforce the styling.
+
+ Enable PrimeVue CSS layer and configure the tailwind styles to have higher specificity with layering. This way, ! prefix is not required. If you are using Nuxt, there is a
+
In unstyled mode of PrimeVue, default styling elements like design tokens and css classes are turned off so that you have full control over the component styling with pass-through properties. This feature is quite useful when you'd like
to build your own UI library based on a custom design by wrapping PrimeVue components or simply utilitze Tailwind CSS to style the PrimeVue components.
diff --git a/apps/showcase/pages/tailwind/index.vue b/apps/showcase/pages/tailwind/index.vue
index b04131c6f..680243671 100644
--- a/apps/showcase/pages/tailwind/index.vue
+++ b/apps/showcase/pages/tailwind/index.vue
@@ -1,13 +1,13 @@
Integration between PrimeVue and Tailwind CSS. Integration between PrimeVue and Tailwind CSS both in styled and unstyled modes.Tailwind CSS
-