by Rapzid · 3y ago · 0 comments
I'm excited to try these out and possibly switch over and fill in the gaps. Lots of headless systems are locked into a particular styling system but this looks super flexible and will work perfect with Tailwind. Love the callback for classname that supplies states.
Hope they keep the slot props concept from spectrum.
Edit: Slot props are in! Can't explain how much I like the Spectrum projects.
I haven't really grasped what slot are used for tho, can you share a tldr?
https://react-spectrum.adobe.com/react-spectrum/layout.html#...
Too bad React doesn't have Vue slots built-in, but this is nice for streamlining component APIs. Works well with Tailwind classes.