How to use SilkUI patterns in not SilkUI theme?


We have a site that based on London theme and we would like to add some patterns from SilkUI. We've added patterns as dependencies but it doesn't work as there is an error on page ReferenceError: Can't find variable: SilkUI 

Where is the script the defines SilkUI variable that we can include in our pages?

Thank you


Hi Nick,

There is a web block 'WidgetsForLayout' from silk that you need to put in your layouts for the patterns to work.

You can also reference this answer for the few extra pieces you will need on your layout:

Let me know if you have any issues,



Hi Justin,

Thanks for the tip - it solved the problem. I've also managed to get it work by implicitly including SilkUI JS scripts.