How to best integrate Brain documentation #107
Replies: 3 comments 10 replies
-
Just thought I would help restart this discussion. I'm pretty interested and starting to document the brain component usage. Honestly I looked at a few component library docs. Just for reference: https://spectrum.adobe.com/page/combo-box/ Honestly I think I really appreciate radix use of the table being condensed making it easier to see as many props as possible. With a few other libs I feel like they tried to put to much information in each row about each input/prop and it makes it difficult to read and makes me have to scroll. It feels like almost like information overload and makes the components feel complicated. I see this especially in the ant example. I think MUI tried to solve this by giving you the option to see the same information in a few different layouts but that might be a bit overkill. Adobe's spectrum one is a bit interesting too. They have a pretty condensed table for quick reference of the inputs/props and they separately have a section for each one to give more info on the default and behavior. The use of the change log is of most interest to me from their example. So in all I think:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Is this still being worked on? I would love to contribute to this. 😀 |
Beta Was this translation helpful? Give feedback.
-
Hey all! I am opening this discussion to gather your feedback on how we can improve the documentation, especially what you all think is a good way to add APIs provided by the brain primitives. Shadcn builds on top of RadixUI, which means that the shadcn docs can focus exclusively on the "own the code" and how Radix is applied under the hood.
With spartan/ui we are creating both shadcn & RadixUI at the same time! I want to think of ways how we can give developers better guidance to use the brain components themselves while also keeping the documentation clear, straightforward for all developers and maintainable for us!
Maybe some of you guys have seen great doc sites that they loved using or have examples we can try to emulate!
For reference here is the docs for RadixUI: https://www.radix-ui.com
I see they now have a themes section that adds styles to their primitives. Seems like they are keeping the docs completely separate. Curious to hear what you guys think!
Thanks already for your time & feedback!
Let's keep building together 👍
Beta Was this translation helpful? Give feedback.
All reactions