Adding documentation

In this guide, we'll walk through adding documentation for our fully test custom Strong component.


All of HSDS's component documenations files are scoped in the same directory as the component, example:

└── components/
└── Button/

Initial file

The first thing we'll need to do is create a directory under Strong/:

└── components/
└── Strong/


Our documentation should contain:

  • Brief explanation of what the component is/doesn

  • An example of how it can be used

  • Descriptions of the available component prop

Check out any file from any component for some examples.

Yay, you did it 🤗! Documentation is super important. Thank you for taking the time to write docs!


Let's submit our component for review!