My question today is related to UI libraries. Usually i am not a fan of mixing libraries for the simple reason of overusing stuff that can later on start creating problems. So let say i am building a web app and chose to go with tailwind pro. We already have DaysiUI. At some point i find i need to add additional library for a form element. Even it will be for particular page that library will be present.
So the question is - how do you do it in your projects? Do you mix libraries because of requirement of certain elements or you try to keep it clean and manage with one (or two max) library(es)?
I don’t use component libraries or CSS frameworks, including what’s generated by Phoenix.
In my experience, it’s easier in the long term to write it all from scratch. Well not 100% from scratch because I sometimes copy & paste code from open source CSS and component libraries and then change it to fit my needs.
LLMs are pretty good at CSS these days, so you can ask them for help or just have them generate the code if you’re into that sort of thing. But you do need to think about how the components are going to interact with each other, how they will be composed, etc.
Title & Section same as what you’ve got currently (best if this is specific to your particular situation and where there’s more than likely a single ‘correct’ answer).
Title: Do you mix UI libraries? Is it common practice? Section: Phoenix Chat (best if you are seeking general opinions from others and where it’s not highly specific to your particular situation so it encourages more of a discussion or sharing of opinions rather than a single correct answer).
(Post content of each would reflect the above too.)
In terms of titles though they should be descriptive - people shouldn’t have to click on a thread to see what it is about