React Aria: A headless UI component library
react-spectrum.adobe.com
React Aria: A headless UI component library
1–10 of 73 posts
Re: React Aria: A headless UI component library
#2Re: React Aria: A headless UI component library
#3can someone explain in layman terms what is headless UI?
Re: React Aria: A headless UI component library
#4can someone explain in layman terms what is headless UI?
https://www.merrickchristensen.com/articles/headless-user-in...
Re: React Aria: A headless UI component library
#5can someone explain in layman terms what is headless UI?
Re: React Aria: A headless UI component library
#6can someone explain in layman terms what is headless UI?
"Bring your own UI". You get the behavior from the library but they are completely unstyled or without the component layer where the styles live. Other libraries include Radix and HeadlessUI. Here's a presentation from one of the Radix library authors about how to build dropdowns in React, it serves as a good explainer about what goes into a headless UI library component. https://www.youtube.com/watch?v=lY-RQjWeweo
Re: React Aria: A headless UI component library
#7Earlier quoted context omitted.
"Bring your own UI". You get the behavior from the library but they are completely unstyled or without the component layer where the styles live. Other libraries include Radix and HeadlessUI. Here's a presentation from one of the Radix library authors about how to build dropdowns in React, it serves as a good explainer about what goes into a headless UI library component. https://www.youtube.com/watch?v=lY-RQjWeweo
Why not just use default html elements?
Re: React Aria: A headless UI component library
#8In other words, it would be nice to have slices of UI behavior defined more orthogonally in a way which can be more freely layered, and it seems like this is a step in that direction.
Re: React Aria: A headless UI component library
#9It's a nice idea. I've recently been working with React more, and one of the things which can be frustrating is that it's often hard to find the right level of composability if you want to combine ready-made components. I.e. if you are looking for something like a spreadsheet as a component, maybe you find one with the correct behaviors, but it handles animations in a way you don't like. Or maybe you have to pick som…
Re: React Aria: A headless UI component library
#10It's a nice idea. I've recently been working with React more, and one of the things which can be frustrating is that it's often hard to find the right level of composability if you want to combine ready-made components. I.e. if you are looking for something like a spreadsheet as a component, maybe you find one with the correct behaviors, but it handles animations in a way you don't like. Or maybe you have to pick som…
From the user perspective, yet another widget with subtly different behaviour is very annoying. I'd much rather you add drag and drop handling to the existing widget so that everyone benefits and UIs remain consistent.