Download and setup TorusKit

Learn how to download your own TorusKit copy and how to integrate it into your project within seconds.

Download

To obtain TorusKit, simply click the Get TorusKit button and follow the provided instructions. Upon completing the payment process successfully, a file download dialog will appear, allowing you to acquire your copy within a ZIP package.

Existing customers

If you already purchased or downloaded your copy and want to download it again (you are on a new computer for example), you can go directly to the Download page and provide the email associated with your purchase.

Setup and use

Utilizing TorusKit is pretty straightforward, requiring no installations or additional dependencies. All you need to do is extract the contents of the ZIP package, which includes both regular and minified versions of the library.

TorusKit is by default initialized automatically before the render, to prevent the Flash of unstyled content. You just need to put the <script> tag with a path to toruskit.js or toruskit.min.js just before the </head> closing tag.

Manual initialization

If you need to initialize the TorusKit manually, add auto-init=“false” attribute to the <script> tag to prevent the TorusKit from being initialized automatically. Then use the TORUS.init(); method that will initialize all TorusKit classes (Main, Group,…). If you need individual initializations, use TORUS.Main.init(); to initialize the main class associated with the data-tor attribute, or TORUS.Group.init(); that will initialize the elements with data-tor-group attribute.

Table of content