Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Do you have a project component library/style-guide
2 points by thedevindevops on Jan 29, 2019 | hide | past | favorite | 2 comments
Most projects have reusable ui components but the project I've most recently started work on has a section devoted to a 'component gallery' with documentation on how they should be used. Highly useful but the first time I've come across this sort of thing outside of the documentation explicitly for ui frameworks. Has anyone else worked on a project with anything like this? I think it's a great way to tie-in documentation for devs.


We've got some semi-automated documentation for our React component library. It's broken down into Assemblies, Components, and Elements with each variation having it's own SKU which makes going back and forth from design to documentation pretty simple.

When I first started it helped me a ton with getting up to speed (especially as a designer turned developer). One of the neat things about it is that it uses our flow types to pull out required/optional props and their types.

The main negative is that there's no simple way for designers to directly contribute to it at the moment.


This sounds similar to 'storybook' for react.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: