Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sparse documentation #37

Closed
Johnrobmiller opened this issue Mar 2, 2023 · 2 comments
Closed

sparse documentation #37

Johnrobmiller opened this issue Mar 2, 2023 · 2 comments

Comments

@Johnrobmiller
Copy link

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.

@geoff-harper
Copy link

geoff-harper commented Apr 4, 2023

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

@ecklf
Copy link
Owner

ecklf commented Apr 25, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants