Install Bulma CSS library

Like any other CSS library, Bulma provides many ways to integrate into your application.

  • CDN CSS link
  • Npm package
  • Local installation

Using npm Bulma package

It has a Bulma package provided in the 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

It installs the Bulma module into your application and makes the following changes.

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

~ tiled symbol indicates that the minimum version consider as 0.8.0

import bulma.css library into the application

It provides bulma.css file as the main CSS file, once the installation is done, imports the CSS file as follows.

import 'bulma/css/bulma.css'

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

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

If you need a font-awesome library required, Please include a 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">
            <div 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

Bulma 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 the link path.

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