I even built something like Tailwind UI but for Chakra (link is in my bio if you want to check it out)
I even built something like Tailwind UI but for Chakra (link is in my bio if you want to check it out)
Those things alone are reason for never using Chakra for anything serious as these are actual reasons your product/saas/whatever is at a higher risk of failing.
And that's just apart from the fact that the components are not allowing easy overriding, theming is a mess (especially if you want Typescript support again for your custom variants) and it's sometimes buggy with the way DOM events are handled (the checkbox being the biggest offender). At some point the frontend also randomly crashed for me because of the Popover component and it's usage of Popper.js
>> Those things alone are reason for never using Chakra for anything serious as these are actual reasons your product/saas/whatever is at a higher risk of failing.
Emotion and other CSS-in-JS libraries are used extensively and don't raise a risk of the project failing.
>> And that's just apart from the fact that the components are not allowing easy overriding
You can use Styled-system to create and extend the existing theme. This is actually a knock against using Tailwind CSS directly since you will need to write custom CSS to override the theme. I've even seen projects where Tailwind is used with Emotion to extend the existing theme.
>> At some point the frontend also randomly crashed for me because of the Popover component and it's usage of Popper.js
I use Chakra (and the Menu component that uses Popper) on my landing page and SaaS and have never had any issues. If your code is open, I can help you debug this.
Third paragraph of the article
Headless UI is some of the nicest React components I’ve worked with via interop, and to me it’s really valuable that they don’t come with an opinionated way of styling them.