Our project templates give you a solid… Foundation on which to start a new project. Both templates use the Gulp build system to automate the process of compiling Sass, processing JavaScript, copying files, and more.

Basic Template

Our basic project template is a lot like the Sass template from Foundation 5. The project has a flat directory structure and only compiles Sass. It’s great if you want to quickly put together a simple project and only need to use Sass.

You can manually install the template with:

# Download the template with Git
git clone https://github.com/foundation/foundation-sites-template projectname

# Move to the project folder, and install dependencies
cd projectname
yarn

# Build the Sass files
yarn start

Your project will be recompiled every time you save a Sass file in `dist/.


ZURB Template

The official ZURB Template includes not only Sass processing, but also JavaScript processing, Handlebars templating, and image compression. We use this exact template at ZURB for our client work!

You can manually install the template with:

# Download the ZURB template with Git
git clone https://github.com/foundation/foundation-zurb-template projectname

# Move to the project folder, and install dependencies
cd projectname
yarn

# Build the project
yarn start

Once compiled, you project is viewable at: http://localhost:8000

The biggest difference between this and the basic template is the folder structure. In the ZURB Template, your project has a src/ folder which contains your source files, and a separate dist/ folder with your finished website. As you work on your project, Gulp continuously updates your dist/ folder with new versions of files. To compile a production build, run yarn build.

To override or add to the default styles of the ZURB Template, in your project’s src/assets/scss/ folder

The _settings.scss and app.scss files are not changed when upgrading an existing project. As a result, you must manually edit your _settings.scss file to incorporate any Sass changes found in the release notes.

Features

Here’s an overview of what the ZURB Template can do:

Style Sherpa has a dedicated page here in the docs that explains its various features. Learn more about Style Sherpa.

Tutorials