News for hackers. Stuff that matters.
Re:React Aria: A headless UI component library by deergomoo on Friday November 05, 2021 @05:39AM (#29117121)
They’re pretty lacking. <select> is a great example: no searching/filtering, no ability to have styled/multiline text in <option>s, nor anything that’s not plain text (so no SVG iconography for example).

People constantly have to reinvent the wheel to offer fairly basic functionality, so it’s good that there are libraries to handle the behaviour and accessibility side well while supporting whatever visual styles you want to make.

Re:React Aria: A headless UI component library by jorams on Friday November 05, 2021 @03:14PM (#29123586)
I feel like a big problem here is that the Getting Started starts with a bunch of code that just... outputs a bare button. Starting with something like a combobox would show much more value.