I really enjoyed reading this, and I don't know Clojure at all. This is a problem I've encountered several times while building design systems/component libraries. It's a very universal documentation problem, regardless of what platform it's targeting.<p>I have done the same with React - but it gets messy. Something nice like in the post would be great for that.<p>Too often I see very poor Storybook sites in the wild (a web based design system visual explorer, somewhat like the screenshot in the post) where no thought was given to this exact problem.<p>Instead of something meaningful like in the post, I see:<p><pre><code> () => <TextInputStorybook />
</code></pre>
As the only avaliable code. The point of the code blocks is so people can copy paste. When I see that, I know I'm in for a rough ride because the code quality inevitably isn't any good either.<p>For reference, this is easily the best design system I know of: <a href="https://seek-oss.github.io/braid-design-system/components/Text" rel="nofollow">https://seek-oss.github.io/braid-design-system/components/Te...</a> I use this as a reference when I work on my own.