Pattern Library Integration

We then import the pattern library's repository as a submodule to our project or WordPress theme

Binding the two and creating the pattern library as a dependency for the project to use.

The restriction of only adding stylised components to a pattern library, which can then be accessed by a theme or backend developer prevents obscure and undocumented components from living in a project.

Yes, sometimes it can be a pain to have to fire up the pattern library to add one small component.

However, the time spent in documenting the component can save the time of the rest of the team working on the project as they can access the component, notes on use of the component and the expected data with ease.

Conclusion

Pattern libraries are something we can't get enough of.

If you aren't using pattern libraries in your projects, you may want to consider it!

If you are using pattern libraries in your projects, let us know what kind of processes you like to follow and what frameworks you're fond of.