A simple extensible CSS framework

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

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

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

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.

Downloads

GitHub repo:

Vanilla Framework

Use our CSS framework to start building your project.

Download latest release

See the release notes for details on the latest updates.
Sketch library:

Vanilla Design

Get our Sketch library of common design components.

Download the Sketch UI Kit

Filesize - 2.4 MB

Latest news from our blog

The lifecycle of a component

21 November 2019

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.