tailwindcss-radix icon indicating copy to clipboard operation
tailwindcss-radix copied to clipboard

sparse documentation

Open Johnrobmiller opened this issue 1 year ago • 2 comments

I see all those utilities for the animations, but there's no documentation about how to use them. Also, when I go to see the animations in the demo, sometimes there is none (like in the case animating the accordion content height).

Not sure how to proceed without clear documentation.

Johnrobmiller avatar Mar 02 '23 23:03 Johnrobmiller

Some documentation on what this dependency is actually for would be good. Radix explicitly has Tailwind examples for every component and it doesn't appear that they use this. I'd like to know what the purpose is so I can consider if I want/need it

geoff-harper avatar Apr 04 '23 15:04 geoff-harper

Radix explicitly has Tailwind examples for every component and it doesn't appear that they use this

Radix didn't have Tailwind examples up until recently.

Some documentation on what this dependency is actually for would be good

The main purpose of this library is that it adds classnames for accessing data attributes. Tailwind added data-* variants after this library came out (which is what the official Radix examples use). However, you don't gain the benefit of auto-completion as it relies on the usage of arbitrary values.

TL;DR it's @headlessui-tailwindcss for Radix

ecklf avatar Apr 25 '23 10:04 ecklf