Install Tailwind CSS with Vite, add daisyUI, and build a small card example with the current Tailwind CSS 4 setup.
Install Tailwind CSS with Vite when you want a real build setup
Vite is a good match for Tailwind CSS because it gives you a fast development server and a simple plugin setup. Tailwind CSS 4 uses the @tailwindcss/vite plugin in Vite projects.
If you also want component classes, install daisyUI in the same project and load it from your CSS file.
Tailwind CSS gives you control over every visual detail. daisyUI gives you ready component classes for the parts you will use repeatedly. Starting with both keeps the project flexible without forcing every button, card, input, and alert to start from zero.
daisyUI is the most popular component library for Tailwind CSS