The UI Patterns project provides 6 modules:
- UI Patterns: the main module, it exposes the UI Patterns system APIs and it does not do much more than that.
- UI Patterns Library: allows to define patterns via YAML and generates a pattern library page available at
/patternsto be used as documentation for content editors or as a showcase for business. Use this module if you don't plan to use more advanced component library systems such as PatternLab or Fractal.
- UI Patterns Field Group: allows to use patterns to format field groups provided by the Field group module. Learn more
- UI Patterns Layouts: allows to use patterns as layouts. This allows patterns to be used on Display Suite view modes or on panels out of the box. Learn more
- UI Patterns Display Suite: allows to use patterns to format Display Suite field templates. Learn more
- UI Patterns Views: allows to use patterns as Views row templates. Learn more
Try it out!
Download and install the Bootstrap Patterns theme on a vanilla Drupal 8 installation to quickly try out the UI Patterns module.
To build the documentation make sure you setup your environment by following these instructions first.
After setting up your environment run:
$ cd docs $ make html
The documentation is then available at
If you want to contribute documentation you can setup and auto-compile that will watch for documentation changes by running:
$ make livehtml
You can then preview the compiled documentation at