Filter & sort magical layouts http://isotope.metafizzy.co
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
David DeSandro ad008079ec ⬆️ outlayer v2.1.1. #916; 👷‍♀️ v3.0.6 7 years ago
.github 🐙 github: remove Coder's Clan; https links 7 years ago
dist ⬆️ outlayer v2.1.1. #916; 👷‍♀️ v3.0.6 7 years ago
js ⬆️ outlayer v2.1.1. #916; 👷‍♀️ v3.0.6 7 years ago
sandbox masonry_layout -> masonry-layout 7 years ago
test masonry_layout -> masonry-layout 7 years ago
.gitignore get browserify sandbox working 10 years ago
.jshintrc 🛠 UMD use inline hint, check module 9 years ago
README.md ⬆️ outlayer v2.1.1. #916; 👷‍♀️ v3.0.6 7 years ago
bower.json ⬆️ outlayer v2.1.1. #916; 👷‍♀️ v3.0.6 7 years ago
gulpfile.js 📦 change package name to isotope-layout all over 7 years ago
package.json ⬆️ outlayer v2.1.1. #916; 👷‍♀️ v3.0.6 7 years ago

README.md

Isotope

Filter & sort magical layouts

See isotope.metafizzy.co for complete docs and demos.

Install

Download

CDN

Link directly to Isotope files on unpkg.

<script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js"></script>
<!-- or -->
<script src="https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.js"></script>

Package managers

npm: npm install isotope-layout --save

Bower: bower install isotope-layout --save

License

Commercial license

If you want to use Isotope to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. With this option, your source code is kept proprietary. Purchase an Isotope Commercial License at isotope.metafizzy.co

Open source license

If you are creating an open source application under a license compatible with the GNU GPL license v3, you may use Isotope under the terms of the GPLv3.

Read more about Isotope's license.

Initialize

With jQuery

$('.grid').isotope({
  // options...
  itemSelector: '.grid-item',
  masonry: {
    columnWidth: 200
  }
});

With vanilla JavaScript

// vanilla JS
var grid = document.querySelector('.grid');
var iso = new Isotope( grid, {
  // options...
  itemSelector: '.grid-item',
  masonry: {
    columnWidth: 200
  }
});

With HTML

Add a data-isotope attribute to your element. Options can be set in JSON in the value.

<div class="grid"
  data-isotope='{ "itemSelector": ".grid-item", "masonry": { "columnWidth": 200 } }'>
  <div class="grid-item"></div>
  <div class="grid-item"></div>
  ...
</div>

By Metafizzy 🌈🐻, 2010–2018