▲ | thuanao 9 days ago | ||||||||||||||||||||||||||||||||||||||||
It’s too bad most UI libraries ate tied to a particular framework like React, Tailwind, etc. instead of self-contained web component elements. | |||||||||||||||||||||||||||||||||||||||||
▲ | aquariusDue 9 days ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||
I've had a good experience so far working on an admin dashboard with BeerCSS (and Datastar which is unrelated). It implements a lot of the Material Design stuff and it is opinionated but between the examples on the main site and documentation on GitHub it was pleasant to work with. It's easy to get started too, just add three links in the <head>. | |||||||||||||||||||||||||||||||||||||||||
▲ | spankalee 9 days ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||||||||
It's not just that many design systems are tied to a particular framework, it's that they don't play well with HTML, and therefore classically server-rendering frameworks like Rails, Django, PHP, etc. With custom elements you can just drop `<my-dropdown>` in your server template and that's where the dropdown widget will be. Something like Shoelace[1] would be very nice to use with Rails. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
▲ | 9 days ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||
[deleted] |