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 1738bbbef8 remove a len 9 years ago
.github fluid masonry layout 9 years ago
dist update Outlayer v1.4.2 for percent fix 9 years ago
js remove a len 9 years ago
sandbox stagger sandboxes 9 years ago
test arrange complete stagger 9 years ago
.gitignore get browserify sandbox working 10 years ago
.jshintrc 🛠 UMD use inline hint, check module 9 years ago
README.mdown Minor English tweak 9 years ago
bower.json 🐱 move contributing, add issue_template, add .github/ 9 years ago
gulpfile.js 🍹 Grunt out, gulp in 9 years ago
package.json 📦 update .jsons 9 years ago

README.mdown

Isotope

Filter & sort magical layouts

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

Install

Download

CDN

Link directly to Isotope files on cdnjs.

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.isotope/2.2.2/isotope.pkgd.js"></script>
<!-- or -->
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.isotope/2.2.2/isotope.pkgd.min.js"></script>

Package managers

Bower: bower install isotope --save

npm: npm 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 class of js-isotope to your element. Options can be set in JSON in data-isotope-options.

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

Support

CodersClan has a dedicated support forum for Isotope, where you can get personal support from experienced developers.

Get support on CodersClan


By Metafizzy