Re:Phoenix LiveView 1.0.0 is here
by chrismccord on Tuesday December 03, 2024 @11:40PM
(#42314533)
Thanks! This kind of thing was lacking for some time, and with the HEEx engine + function components released a couple years ago, we laid the groundwork for extensible component libs, and the community has put out some great options.
We list half a dozen in the readme, with https://fluxonui.com/ being the most recent, and fully accessible. There is also one inspired by shadcn
https://github.com/phoenixframework/phoenix_live_view?tab=re...
Thank you for posting this.
Flowbite - https://flowbite.com/docs/getting-started/phoenix/
install guide for Phoenix
Preline - https://preline.co/docs/frameworks-laravel.html You can use the Laravel guide and adapt it to Phoenix. Quite trivial install
These two UI component libraries are mostly HTML and Tailwind, so not too complex to use.
A remaining opportunity is a beautiful component library like a shadcn. You can dunk on the complexity of JavaScript, but every choice has tradeoffs and a huge advantage of that ecosystem is you have amazing front end engineers doing beautiful, accessible UI work.
Just look at the demos of LiveView on their own site. Pretty rough by comparison.
Itβs not to take away from the effort. Truly enjoyable to develop in. Just to point out there is an even higher level to reach next.