3 ms·
You're right as it probably won't work well with MUI [0] (formerly React Material) and similar options like Ant [1]. But they all accept a theme provider that c
by gherkinnn 5y ago
You're right as it probably won't work well with MUI [0] (formerly React Material) and similar options like Ant [1]. But they all accept a theme provider that could hook in to the Tailwind config. Never tried it though.
But a swell of less opinionated offerings [2] [3] [4] (more and more the popular anyways) work well with Tailwind. In fact, when writing your own libs, exposing a className prop makes them painlessly customisable.
0 - https://mui.com https://mui.com
1 - https://ant.design https://ant.design
2 - https://www.radix-ui.com/docs/primitives/overview/styling https://www.radix-ui.com/docs/primitives/overview/styling
3 - https://react-table.tanstack.com https://react-table.tanstack.com
4 - https://react-spectrum.adobe.com/react-aria/ https://react-spectrum.adobe.com/react-aria/
- gunshowmo 5y agoThanks for these ideas! The react-aria seems quite interesting to develop a UI library library using Tailwind-styled elements while accounting for accessibility.