News for hackers. Stuff that matters.
Re:React Aria: A headless UI component library by zettadam on Friday November 05, 2021 @09:15AM (#29118733)
In what way is Headless UI 'headless'?
Re:React Aria: A headless UI component library by vereis on Friday November 05, 2021 @09:22AM (#29118819)
It doesn't come with any styling OOTB. The idea is that you're just building a frontend (all the markup, styling etc) around some provided state management
Re:React Aria: A headless UI component library by zettadam on Friday November 05, 2021 @09:38AM (#29119019)
`react-table` is headless. I am forced to create my own html structure and am in control of the markup from the start. `headless-ui` provides those components which doesn't give me full control over markup, does it?
Re:React Aria: A headless UI component library by illumanaughty on Friday November 05, 2021 @10:08AM (#29119444)
It gives you complete control over your markup and styling. Headless UI is designed to handle everything except what the components look like.
Re:React Aria: A headless UI component library by zettadam on Friday November 05, 2021 @10:15AM (#29119566)
<Component as="some html tag"> is not full control :)
Re:React Aria: A headless UI component library by armandososa on Friday November 05, 2021 @01:47PM (#29122509)
Styleless would be a more apt name.