import tailwind css in with js code example Example: tailwind css npm # Using npm npm install tailwindcss # Using Yarn yarn add tailwindcss