Would it be possible to include code samples for each component demo in the zag.js documentation? #1650
huangsheng7271
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Thanks for bringing this up @huangsheng7271 That's definitely something we need to do and @anubra266 is working on |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be incredibly helpful if the zag.js documentation could include complete code examples for each demo, similar to the approach taken by react-aria. For instance, for the demo shown in the image, providing both the zag.js implementation code and the corresponding CSS would give users a comprehensive understanding of how to recreate the component. This approach would make it much easier for developers to understand and implement zag.js components in their own projects.
Beta Was this translation helpful? Give feedback.
All reactions