Twig Templates for the Default StyleguideKit

May 13, 2026 ยท View on GitHub

Important

Pattern Lab is no longer actively maintained. All repositories, along with the rest of the @pattern-lab ecosystem on GitHub and npm, have been deprecated and archived. The code, releases, and history remain available so the work stays discoverable and forks can continue independently under the MIT license. No new releases, security patches, or issue triage will be performed. Read the full message, and thank you.

Twig Templates for the Default StyleguideKit

These Twig templates are meant to be used with the static assets for the default StyleguideKit. The Twig templates are for the "view all" view in Pattern Lab PHP.

Installation

Pattern Lab PHP uses Composer to manage project dependencies. To install the Twig templates run:

composer require pattern-lab/styleguidekit-twig-default

Development Requirements

In order to modify these templates you need to install the following:

Development Set-up

Once you've installed the requirements do the following to set-up for development:

  1. cd /path/to/dev-edition/packages/pattern-lab/styleguidekit-twig-default
  2. git config branch.dev.remote origin

Making Changes

Simply edit the files in views/.