talira

Free, open source, and modern CSS framework based on Flexbox

open sourceMITself-hostablefree

Bulma is a CSS framework of ready-made components (buttons, cards, navbars, modals, forms, tabs) and layout helpers (Flexbox columns, a smart grid, hero and section blocks) that you combine with readable class names such as button is-primary. It ships as a single precompiled CSS file or as Sass source you import piece by piece to customise, and since version 1 every component is styled with CSS variables, so themes, colour palettes and dark mode can be changed in plain CSS. It includes no JavaScript, works in right-to-left layouts through logical properties, and is MIT-licensed, made by Jeremy Thomas and funded by sponsors and donations.

Problems it solves

  • I want a good-looking responsive site without writing much CSS myself
  • a CSS framework that doesn't force me to use its JavaScript, so it fits my own front end
  • readable component classes like button is-primary instead of long strings of utility classes
  • drop a single CSS file from a CDN into a page and get styled buttons, forms and navbars
  • customise a framework's colours and spacing with Sass variables and only import the parts I use
  • change a site's theme and turn on dark mode with CSS variables, without rebuilding the CSS
  • build responsive column layouts with Flexbox without learning the details of Flexbox
  • style a server-rendered Rails, Django or Phoenix app with components that need no client-side framework
  • show skeleton loading placeholders while content loads, using only CSS classes
  • support right-to-left languages in my site's styles without a separate RTL stylesheet

Features

  • components: navbar, card, modal, dropdown, menu, message, pagination, panel, tabs, breadcrumb
  • elements: button, box, notification, progress bar, table, tag, title, content, icon, image
  • form controls: input, textarea, select, checkbox, radio and file upload
  • Flexbox columns with responsive sizes, nesting and gaps, plus a smart grid and fixed grid
  • layout blocks: container, hero, section, level, media object and footer
  • every component styled with CSS variables (custom properties) for customising in plain CSS
  • themes, colour palettes and automatic or user-chosen dark mode
  • skeleton loading placeholders
  • Dart Sass source with variables, mixins and modular imports of only the parts you need
  • logical properties for right-to-left layouts
View 1 more
  • single precompiled CSS file from npm, jsDelivr or cdnjs

Limitations

  • Doesn't include any JavaScript: Bulma is only the style layer, so interactive behaviour needs your own scripts1

Alternatives

The same job

These do what Bulma does.

  1. UIkit A lightweight and modular front-end framework for developing fast and powerful web interfaces
  2. Bootstrap The most popular HTML, CSS, and JS library in the world
  3. Foundation for Sites The most advanced responsive front-end framework in the world
  4. daisyUI The most popular, free and open-source component library for Tailwind CSS
  5. Tailwind CSS Rapidly build modern websites without ever leaving your HTML.

Compare Bulma with the top 3