Install Bulma css library

Like any other CSS library, Bulma provides number of ways to integrates into your application

  • CDN CSS link
  • Npm package
  • Local installation

Using npm bulma package

It has bulma package provided in npm library. You can use npm or yarn or bower packager to install into your application as follows

Go to your application root directory, please run the below command as per your package manager.

npm install bulma
yarn add bulma
bower install bulma

This will installs bulma module into your application and made following changes

  • create a bulma folder under your node_modules folder
  • created an entry in package.json file
  "dependencies": {
    "bulma": "^0.8.0"

~ tiled symbol indicates that minimum version consider as 0.8.0

import bulma.css library into application

It provides bulma.css file as main css file,once installation is done, import css file as follows

import 'bulma/css/bulma.css'

bulma.css is imported into your application and all your selectors and styles are avialable to use.

You can also use the bulma hosted in CDN provider. provide the CDN url like a normal stylesheet file.

If you need font-awesome library required, Please include font-awesome cdn url as given in the example.

<!DOCTYPE html>
      <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <title>Bulma CDN Example</title>
      <link rel="stylesheet" href="
      <script defer src="
      <section class="section">
         <div class="container">
            <h1 class="title">
               Bulma CDN Example
            <p class="subtitle">
               My first website with <strong>Bulma</strong>!
            <a class="button is-primary">Primary</a>
            <a class="button is-link">Link</a>
            <a class="button is-info">Info</a>
            <a class="button is-success">Success</a>
            <a class="button is-warning">Warning</a>
            <a class="button is-danger">Danger</a>     

And after running the above code in browsers, The output looks like as follows.Bulma CDN Example

Bulma CDN Example

My first website with Bulma!

Primary Link Info Success Warning Danger

Local setup

To install in your local machine, Please download Bulma CSS code from repository copy the styles or CSS folder wherever required.

Include the following relative link as per link path.

<link rel="stylesheet" href="css/bulma.min.css">