talira

Foundation for Sites

The most advanced responsive front-end framework in the world

open sourceMITself-hostablefree

Foundation for Sites is a responsive front-end framework of Sass, CSS and JavaScript from the Foundation project (originally ZURB): a flexible XY grid (with Flexbox and float modes), modular components such as menus, top bars, off-canvas, reveal modals, tabs, accordions, orbit sliders and dropdowns, base styles meant as a coded wireframe you restyle, and Motion UI, a Sass library of transitions and animations. Its Sass mixins build grids with any number of columns, its components come with ARIA attributes, and its JavaScript plugins run on jQuery. Version 6 continues on the v6 branch with bug fixes and is still published as foundation-sites on npm under MIT, while the repository has moved on to Yeti, a zero-build successor in alpha under the Functional Source License.

Problems it solves

  • build a responsive, content-focused website that works on any device without designing a grid from scratch
  • I need nested grids with any number of columns, not just a fixed 12-column layout
  • prototype a responsive site quickly with ready-made menus, off-canvas navigation and modals
  • base styles that are a neutral wireframe I can restyle to our brand, not a finished look every site shares
  • add CSS transitions and animations to page elements with Sass mixins
  • components with ARIA roles and keyboard support built in so our site starts accessible
  • keep maintaining an existing site built on Foundation 6 with a framework that still gets bug fixes
  • support right-to-left languages in a responsive layout

Features

  • XY grid with Flexbox and float modes, and Sass grid mixins for any number of columns
  • modular menu system, top bar, off-canvas, dropdown menus and responsive navigation
  • components including reveal modals, tabs, accordions, orbit slider, tooltips, callouts and cards
  • Motion UI: a Sass library of more than two dozen transition and animation classes
  • ARIA attributes and roles in every code snippet
  • base styles as a coded wireframe, customisable through Sass settings
  • right-to-left support and flexbox utilities
  • JavaScript utilities you can use to write your own plugins
  • installs from npm or yarn, or from jsDelivr
  • Building Blocks and HTML templates to start pages from

Limitations

  • Doesn't work without jQuery for its JavaScript plugins: jQuery must load before Foundation1

Capabilities

Takes pluginsplan not known

Alternatives

The same job

These do what Foundation for Sites does.

  1. Tailwind CSS Rapidly build modern websites without ever leaving your HTML.
  2. Bootstrap The most popular HTML, CSS, and JS library in the world
  3. Bulma Free, open source, and modern CSS framework based on Flexbox

Compare Foundation for Sites with the top 3