Skip to main content

Install

The easiest way to use the toolkit is via CDN.

Installing the CSS

blaze.min.css contains everything you need . Link to it by adding the following to your <head></head> .

The x.x.x is the specific version of the library, specifying a version is optional but it prevents against breaking changes.

Modules

Each module is also available via CDN in-case you only want bits and pieces of Blaze and not the whole toolkit.

See all modules available on the CDN

How to start applying styles

We've designed the toolkit not to interfere with others or your own styles, hence Blaze won't automatically do anything to your site.

The following won't change by simply linking to blaze.min.css like it would with others such as Bootstrap or Foundation:

You need to apply our button classes:

This means you have to add classes to each part of your site where you want Blaze to apply. Take a look at the documentation for our objects, components, typography etc. and you'll see how intuitive it is to use.

Installing the JavaScript Components

Script tag

Link to it by adding the following to your <head></head> .

The x.x.x is the specific version of the library, specifying a version is optional but it prevents against breaking changes.

That's it! Start using the components in your HTML.

Node Modules

Run npm install blaze-atoms --save .

Put a script tag similar to this:

in the head of your index.html Then you can use the element anywhere in your template, JSX, html etc.

In a Stencil App

Run npm install blaze-atoms --save .

Add an import:

and you can use the elements anywhere in your template, JSX, html etc.

Integrating with a Framework

Blaze uses Stencil to compile our components into Web Components. And since they can be used within frameworks or in standard HTML websites the best resource to read is the Stencil documentation regarding framework integration.