---
title: "Discussion on \"Using Mantine with Tailwind\" | Hashnode"
description: "Discussion on \"Using Mantine with Tailwind\". Wondering how to use Tailwind classes in Mantine components? This is the article you need."
url: "https://hashnode.com/posts/using-mantine-with-tailwind/64e8ceb98f95e28727b4e2d0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using Mantine with Tailwind](https://blogs.shenyien.cyou/using-mantine-with-tailwind?utm_source=hashnode&utm_medium=feed)

Wondering how to use Tailwind classes in Mantine components? This is the article you need.

Aug 25, 2023 · 10 min read · blogs.shenyien.cyou  
Updated Apr 18, 2024  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#mantine-ui](https://hashnode.com/tag/mantine-ui)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#tailwind-css](https://hashnode.com/tag/tailwind-css)
-   [#components](https://hashnode.com/tag/components)

## Written by

[Hoh Shen Yien](https://hashnode.com/@ShenYien)

@ShenYien · Kuala Lumpur, Malaysia

  
[View profile](https://hashnode.com/@ShenYien)

I write codes and blogs 🍵

My name is Hoh Shen Yien, I'm a Malaysian fullstack developer who likes to read and write sometimes 🤩

## Responses 2

Markdown supported · ⌘↵ to post

[Songkeys](https://hashnode.com/@songkeys)

[Nov 15, 2024](https://hashnode.com/posts/using-mantine-with-tailwind/64e8ceb98f95e28727b4e2d0/comment/67379057de3b2c5de555bf0e)

Hi. I just made a template and a tutorial to solve this problem: github.com/songkeys/tailwind-preset-mantine

[suresh kumar](https://hashnode.com/@ssks122)

[Jul 26, 2024](https://hashnode.com/posts/using-mantine-with-tailwind/64e8ceb98f95e28727b4e2d0/comment/66a385abf86a17a07953c96b)

Thanks for the great article. Have you used this combo in any production environment? Especially in any enterprise products?

I am planning to use this combo in an enterprise product.

How do you sync theme of Mantine with tailwind? spacings, colors, border-radius, etc

[Hoh Shen Yien](https://hashnode.com/@ShenYien)

[Jul 28, 2024](https://hashnode.com/posts/using-mantine-with-tailwind/64e8ceb98f95e28727b4e2d0/comment/66a385abf86a17a07953c96b#reply-66a5f570e2bab365afca7d70)

Hi Suresh, I have actually used it in Enterprise projects twice, and the experience is quite enjoyable for me.

As for customizing the theme, how I did last time was to avoid using Mantine's builtin style props like paddings and shadow, and instead revert back to using Tailwind classes for it.

However, for colors you can mainly refer to [shenyien.hashnode.dev/using-mantine-with-tailwind](https://shenyien.hashnode.dev/using-mantine-with-tailwind#heading-theming-mantine-with-tailwind) where I mentioned about

Finally, for other default styles like radius of buttons, you can configure them similarly in Mantine Theme Override.

[Abraham Castillo](https://hashnode.com/@abecastillo)

[Sep 17, 2023](https://hashnode.com/posts/using-mantine-with-tailwind/64e8ceb98f95e28727b4e2d0/comment/65070fd4c38bb7ff5317a53d)

Congrats, your posts about Next.js are awesome. I like the benefit of using both Tailwind and Mantine on a Next.js app. The only thing I would like to add your template, is to use app router instead of pages, to use version 7.0.0 of mantine and thus take more advantage of server-side rendering. If you use this template, the styles are client-side and that causes a small glitch when loading the page for the first time on slow connections.

[Hoh Shen Yien](https://hashnode.com/@ShenYien)

[Sep 26, 2023](https://hashnode.com/posts/using-mantine-with-tailwind/64e8ceb98f95e28727b4e2d0/comment/65070fd4c38bb7ff5317a53d#reply-6512eb4b616acf53c14bc305)

Thanks! So far I am not planning to add app router yet because I still don't find it production-ready yet. However, I will update the Mantine ASAP.
