diff --git a/components/doc/tailwind/unstyledmode/setupdoc.js b/components/doc/tailwind/unstyledmode/setupdoc.js
index a297019ba3..8d1d98f762 100644
--- a/components/doc/tailwind/unstyledmode/setupdoc.js
+++ b/components/doc/tailwind/unstyledmode/setupdoc.js
@@ -38,6 +38,21 @@ return(
const code3 = {
basic: `
import { PrimeReactProvider } from "primereact/api";
+import Tailwind from 'primereact/passthrough/tailwind';
+
+...
+return(
+
+
+
+)
+
+`
+ };
+
+ const code4 = {
+ basic: `
+import { PrimeReactProvider } from "primereact/api";
import { twMerge } from 'tailwind-merge';
...
@@ -50,7 +65,7 @@ return(
`
};
- const code4 = {
+ const code5 = {
basic: `
import { PrimeReactProvider } from "primereact/api";
@@ -140,19 +155,26 @@ export default function MyApp({ Component, pageProps }) {
- Optional: specify the classNameMergeFunction as twMerge to resolve className conflicts via tailwind-merge. This will prevent classNames specified in the
- global pass through from overriding those specified via pass through in your application.
+ Optional: specify the built in Tailwind style of pre-configured Tailwind settings.
+
+ Optional: specify the classNameMergeFunction as twMerge to resolve className conflicts via tailwind-merge. This will prevent classNames specified in the
+ global pass through from overriding those specified via pass through in your application.
+
+
+
+
+
At the final step, component styles are provided via a pass through configuration that utilizes Tailwind CSS. The default preset of each component is available at the Tailwind part under theming section of each component so
you'll able to copy paste instead of starting from scratch. Example below styles, inputtext and panel components;
-
+
Voilà 💙, you now have 90+ awesome React UI components styled with Tailwind that will work in harmony with the rest of your application. Time to customize it to bring in your own style with Tailwind.
>