News for hackers. Stuff that matters.
Re:React Aria: A headless UI component library by nsonha on Friday November 05, 2021 @06:19AM (#29117348)
It's not a thing, this is just a term made up on the spot by the author of this article to describe a component library that has no built-in style.

"What does it even do then" you ask. It implements basic accessibility patterns so you only deal with high level UI elements and not have to worry about having the correct `role-` or `aria-` attributes. That and composite elements such as tabs or modals

Why no style? Most product teams have a design system and they actually overwrite the style of component libraries anyway. So better to have component libraries without style, less bloat.

Re:React Aria: A headless UI component library by andrewingram on Friday November 05, 2021 @08:06AM (#29118055)
I mean, at some point someone made up the term, but it's been floating around for years to describe this exact concept.
Re:React Aria: A headless UI component library by thirdvect0r on Friday November 05, 2021 @06:53AM (#29117551)
HeadlessUI[1] has been around for over a year, it's not a term this author made up

[1] https://headlessui.dev/

Re:React Aria: A headless UI component library by tshaddox on Friday November 05, 2021 @12:12PM (#29121287)
HeadlessUI is one of the newcomers, with a lot of name recognition due to its affiliation with the wildly popular library Tailwind. The term has been around much longer. The first commit of the awesome list was over 3 years ago, and I suspect the term was already fairly established at that point: https://github.com/jxom/awesome-react-headless-components/co...