
Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag storeI understand the confusion here! The situation with using Tailwind CSS in Sanity Studio v3 isn't as straightforward as it might seem, and unfortunately, there isn't clear official documentation on this specific setup.
Based on the community thread you referenced, the original poster resolved their issue by mentioning "Serializer is the cure" - but this is pretty vague and doesn't provide a complete picture of what actually works.
Studio v3 uses Vite internally as its build system, but the Vite configuration isn't meant to be extended for Studio UI customization. The Tailwind Vite plugin approach mentioned in the Tailwind CSS article is specifically for building custom apps with the App SDK, not for customizing Studio itself.
Here's the honest truth: there isn't clear, verified documentation for using Tailwind CSS to style Studio v3 UI customizations. The Studio customization guide you're following focuses on CSS Modules and doesn't officially cover Tailwind integration.
The brief answer in that thread suggests that using "serializers" (likely referring to custom components or portable text serializers) was key to getting Tailwind classes to work. This hints that:
However, without more detailed documentation or community examples, the exact setup remains unclear.
Since you're already using CSS Modules successfully, I'd suggest:
If you really want to pursue Tailwind in Studio, I'd recommend asking in the Sanity Community on Discord where developers might have working configurations to share. If you do get it working, please consider sharing your setup back - it would help fill this documentation gap!
The reality is that CSS Modules are well-supported, work reliably with Studio customization, and you can achieve similar utility-based styling patterns if needed. Sometimes the "officially supported" path, even if less trendy, saves a lot of troubleshooting time.
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.
Content operations
Content backend


The only platform powering content operations
By Industry


Tecovas strengthens their customer connections
Build and Share

Grab your gear: The official Sanity swag store
Read Grab your gear: The official Sanity swag store