Package managers
Install Bulma as a dependency in your project using your preferred package manager.node_modules/bulma directory.
CDN
For quick prototyping or simple projects, use a CDN to include Bulma directly in your HTML.jsDelivr (recommended)
unpkg
Importing Bulma
How you import Bulma depends on your build setup and whether you want to use the compiled CSS or customize it with Sass.Import compiled CSS
If you just want to use Bulma’s default styles, import the pre-built CSS file.Import Sass for customization
To customize Bulma, import the Sass source files. This requires a Sass compiler in your build process.bulma.scss imports all Bulma modules:
node_modules/bulma/bulma.scss
Bulma v1.0+ uses the modern Sass
@use syntax instead of @import. Make sure your Sass compiler supports this syntax.Import specific modules
You can import only the Bulma modules you need to reduce bundle size:utilities/- Functions, mixins, and variablesthemes/- Light and dark theme definitionsbase/- Generic styles and resetelements/- Basic UI elementsform/- Form controls and inputscomponents/- Complex multi-part componentsgrid/- Columns layout systemlayout/- Container, hero, section, footerhelpers/- Utility classes
Build versions
Bulma provides several pre-built versions for different use cases. These are available in thecss/versions/ directory.
Standard version
The default build includes all features:Specialized versions
bulma-no-dark-mode.css
bulma-no-dark-mode.css
Excludes dark mode styles if you don’t need theme switching. Results in a smaller file size.
bulma-no-helpers.css
bulma-no-helpers.css
Excludes helper classes (spacing, colors, typography utilities) if you’re using your own utility system.
bulma-prefixed.css
bulma-prefixed.css
All classes are prefixed with
bulma- to avoid naming conflicts with other frameworks.bulma-no-helpers-prefixed.css
bulma-no-helpers-prefixed.css
Combines both: no helpers and prefixed class names.
Setting up a Sass build
If you’re customizing Bulma with Sass, you’ll need a build process. Here’s a basic setup using the Sass CLI.Verification
To verify Bulma is working, create a simple HTML file:index.html
Next steps
Quickstart guide
Build your first component with Bulma
Customization
Learn how to customize Bulma’s variables and themes
