Search code examples
javascriptcsstailwind-csstailwind-ui

Does Tailwind CSS provide JavaScript by default?


I am using Tailwind CSS and Tailwind UI. I want to use the first navbar on this page. It says Requires JS on the page above. Does Tailwind provide JavaScript by default? If so, which file do I import or use?


Solution

  • Requires JS means you need to write your own JavaScript to handle the open and closed states of the menu when you click on the avatar.