A simple extensible CSS framework

Backed by open-source code and written is Sass by the Canonical Web Team.

lightweight pictogram

Lightweight

Vanilla contains a responsive CSS grid, basic style for HTML elements and a selection of key useful patterns and utility classes that you can extend.

composable pictogram

Composable

Designed to be composable — you can include the whole framework to avail of all styles or you can use only what you need for your project.

open source pictogram

Open source

Anyone can contribute to Vanilla, improve it and extend it. All the code is available on GitHub and is licensed under LGPLv3 by Canonical.

Quick start

The recommended method of including Vanilla Framework in your project is via npm. You can then simply include the framework in your SCSS files and compile.

For other methods, please see the advanced usage docs.

npm install --save-dev vanilla-framework
export SASS_PATH=`pwd`/node_modules:${SASS_PATH}

// Add to your main build scss file the following line
@import 'vanilla-framework/scss/build'

Guidelines

If you are contributing to Vanilla, make sure to read and follow these guidelines.

guidelines illustration

Downloads

github icon

Vanilla Framework

Use our CSS framework to start building your project.

Download v2.4.1

See the release notes for details on the latest updates.
sketch icon

Vanilla Design

Get our Sketch library of common design components.

Download the Sketch UI Kit

Filesize - 2.4 MB

Latest news from our blog

View more from our blog

Who’s using Vanilla

Subscribe to Vanilla updates

Know about new releases, features, blog posts, calls‑for‑help and more.