DEV Community

ujja
ujja

Posted on

Shadow DOM Tailwind and shadcn/ui all have their strengths, but they do not always play nicely together. Sometimes you just have to compromise. Use Shadow DOM only for simple components, let portals work normally, and accept a bit of global CSS.

Sign in to view linked content

Top comments (0)