Salvattore

A jQuery Masonry alternative with CSS-driven configuration.
Alternatives To Salvattore
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Masonry15,4771,9992062 years ago13July 04, 201850HTML
:love_hotel: Cascading grid layout plugin
Bricks.js4,461138344 years ago13March 22, 201712JavaScript
A blazing fast masonry layout generator for fixed width elements.
Shuffle2,27495136 months ago27July 07, 202216mitJavaScript
Categorize, sort, and filter a responsive grid of items
Salvattore2,2183456 years ago2November 05, 2015119mitJavaScript
A jQuery Masonry alternative with CSS-driven configuration.
Freewall1,845
583 years agoApril 26, 2016114mitHTML
Freewall is a cross-browser and responsive jQuery plugin to help you create grid, image and masonry layouts for desktop, mobile, and tablet...
Egjs Infinitegrid1,6755132 months ago135August 04, 202321mitTypeScript
A module used to arrange card elements including content infinitely on a grid layout.
Angular Deckgrid1,118735 years ago1February 14, 201758mitJavaScript
A lightweight masonry-like grid for AngularJS.
Mauerwerk802
75 years ago8September 11, 201810mitJavaScript
⚒ A react-spring driven masonry-like grid with enter/exit and shared element transitions
Masonic41914a year ago94September 16, 202221mitTypeScript
🧱 High-performance masonry layouts for React
Angulargrid2803222 years ago5February 08, 201765mitJavaScript
Pinterest like responsive masonry grid system for angular
Alternatives To Salvattore
Select To Compare


Alternative Project Comparisons
Readme

Salvattore

![Gitter](https://badges.gitter.im/Join Chat.svg)

Salvattore is a library agnostic JS script that will help you organize your HTML elements according to the number of columns you specify, like jQuery Masonry.

Features

  • No requirements: Salvattore is a standalone script, it will work right away after being referenced in your HTML page.
  • Extremely lightweight: about 2.7KB (minified and gzipped.)
  • CSS-driven configuration: the number of columns is defined in CSS and the styling is left to the user.
  • Media queries ready: the same parameters can be used inside media queries for better results on different devices.
  • Wide browser support: modern browsers and IE9+

Upcoming

  • Balanced columns: to keep all columns about the same height.

To find out more and see it in action, please visit our website.

You can also follow us on Twitter.

Methods

Methods can be called on the globally exposed salvattore object for advanced usage.

var grid = document.querySelector('#grid');
var item = document.createElement('article');

salvattore.appendElements(grid, [item]);
item.outerHTML = 'I’ve been appended!';
Method Argument Description
appendElements grid : DOM object, elements: Array of DOM objects Adds elements to the end of a grid.
prependElements grid : DOM object, elements: Array of DOM objects Adds elements to a beginning of a grid. Adds multiple elements one by one before each other, so note the order.
registerGrid grid : DOM object Adds a new grid to salvattore. Which is initialized automatically then.
recreateColumns grid : DOM object Removes all the columns from the grid, and adds them again.
rescanMediaQueries Checks stylesheets and selectors for media queries again. Recreates the columns for all grids afterwards.

How to contribute

We use Gulp to add polyfills and minify the script in the dist/ folder. To make changes to the script itself, please edit src/salvattore.js and send us a pull request.

Share feedback & ideas

You can even contribute by using Salvattore and sharing bugs, ideas or solutions on the Issues page. Protip: if you're posting a bug please share all the relevant data and ideally a live URL so that we can debug (yeah we do that!)

Popular Masonry Projects
Popular Grid Projects
Popular User Interface Components Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Javascript
Grid
Dom
Masonry