John Doe
February 28, 2026
Getting Started with Tailwind CSS v4
Tailwind CSS v4 brings a new engine, faster builds, and a refreshed
configuration system. In this post I walk through the key changes
and how to migrate your existing projects. The new
@theme
directive replaces the old
tailwind.config.js
for most use cases, and the Vite plugin makes setup a breeze.
Comments (15)
Great overview! The new engine is impressively fast. Migrating was smoother than I expected.
Would love a follow-up on the @theme directive. Does it support custom animations too?