I’m sue Styleguidist works with most of CSS in JS and styling libraries our of the box but set up could be not obvious. Would be nice to try all of them, find a working set up and document it.
I'm using CSS Modules together with themr, I'll try to find time to write a few words about my setup.
I’ve added a new guide to the docs to document usage with third-party libraries. Feel free to submit a pull request if you have experience with libraries not described in the guide yet.
We are using react-jss and there is no extra setup needed. At least for current release. There is refactoring in progress to fix SSR issues in JSS but I don't think that it will change something in configuration.
Fela has an official example now: https://react-styleguidist.js.org/docs/thirdparties.html#fela
@sapegin I don't think that the example for styled-components is actually a great way of doing it. It adds another component to the tree that does nothing but pass things on to the styled component. It also adds quite a bit of verbosity to every file.
Is there a way to convince react-docgen that it's actually a component?
@aaronjensen Sure, it can be improved. But that’s the best possible solution for now as much as I know.
There are couple of issues in react-docgen repo couple of unfinished PRs:
Also there’s some unfinished work here:
How about glamorous? Anybody know a way to work around the fact that it shows ALL glamorous properties not only my interface for a button.
screenshot:

We're planning on using Styleguidist for a new shared component repo we're working on at NYT. We're looking to use emotion (which is built on/shares an API with glamor) so I'd be happy to contribute docs back for that.
However, I share @aaronjensen concern about the verbosity required to document these special styled components. Is it just a matter of trying to push this through react-docgen? Or do you think there's anything we could do on Styleguidist side? Maybe Styleguidist could even transparently/automagikally wrap these components with this extra layer before passing through to react-docgen?
Happy to open a separate issue to discuss this further...
@tizmagik I agree that it could be better ;-) But I‘m not sure we can significantly improve that on our side.
Maybe Styleguidist could even transparently/automagikally wrap these components with this extra layer before passing through to react-docgen?
Do you have any ideas how that could work? And how that would be better than react-docgen handlers?
Was thinking maybe a babel-plugin to add an extra export with the syntax that react-docgen is looking for, but you're right a react-docgen plugin/handler would be better. Any thoughts on how we could best move those forward? They seemed to have stalled upstream...
@n1313 would love to see the CSS modules + themr example.
will it support emotion js?
@kossel Please open a new issue if you have any _actual_ problems with Emotion.
Closing this for now, feel free to send more pull requests with documentation!
Most helpful comment
I'm using CSS Modules together with themr, I'll try to find time to write a few words about my setup.