News for hackers. Stuff that matters.
Re:Show HN: Orbit – A CSS radial UI composer framework by spankalee on Thursday August 08, 2024 @01:48PM (#41194274)
Very nice use of web components!

I wonder, could you make custom element alternatives to the .bigbang and .gravity-spot classes too? Then they could attach their own resize observers without requiring the developer to do so manually.

Re:Show HN: Orbit – A CSS radial UI composer framework by tinchox5 on Thursday August 08, 2024 @02:07PM (#41194488)
I was hesitant to develop custom elements at first because I wanted to use just CSS classes and custom variables. However, in certain cases, the developer experience is a mess without using custom elements. About your question, yes, I would make custom element alternatives.