TGAM Pattern Library Documentation

Browse the pattern library website

Importing patterns into your project

In order to make use of the UI component code that’s housed within the pattern library, you’ll first need to install the tgam-patterns NPM package into your project as a dependency:

  1. If you haven’t already done so, initialize your project via npm init.
  2. Install the pattern library package via npm install --save-dev tgam-patterns.

You should now be able to import UI component code into your project. The following pages explain how this process works, with respect to the different types of assets: