sveltekit-jui
sveltekit-jui copied to clipboard
Docs Improvement
I think it would be helpful to show all components with an option to toggle the source code shown and all props, events, and slots that are applicable.
Do you mean every component should have source code and a props table? A related issue is #2 .
yes, along with what events are forwarded and what are dispatched and what values to expect from dispatch.
*edit: I really like how ibm carbon components show it. example https://carbon-svelte.vercel.app/components/TextInput
I am fully along with doing it this way, and Carbon is a good reference. Now we just need people to help do the work :-)
so implementing something that would look like
What are your thoughts?
I think that's a great improvement to have! Especially for highly interactive elements.
BTW all those scroll bars that you see, seems like I have to set overflow: auto; instead of scroll. You shouldn't need a horizontal scrollbar on your screen shot.