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 fa2c14ba2b Add arrangeComplete event; Fixes #732 10 years ago
dist build v2.1.1; 10 years ago
js Add arrangeComplete event; Fixes #732 10 years ago
sandbox Add arrangeComplete event; Fixes #732 10 years ago
test Add arrangeComplete event; Fixes #732 10 years ago
.gitignore get browserify sandbox working 10 years ago
.jshintrc update Outlayer to v1.4.0; add fizzy-ui-utils 10 years ago
CONTRIBUTING.mdown add Support and Pull requests to contrib; 11 years ago
Gruntfile.js build dist/ file with Grunt 11 years ago
README.mdown fresh license and install info 10 years ago
bower.json update Outlayer to v1.4.0; add fizzy-ui-utils 10 years ago
changelog.md Add arrangeComplete event; Fixes #732 10 years ago
package.json update Outlayer to v1.4.0; add fizzy-ui-utils 10 years ago

README.mdown

Isotope

Filter & sort magical layouts

See isotopejs.com 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.1.1/isotope.pkgd.min.js"></script>
<!-- or -->
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery.isotope/2.1.1/isotope.pkgd.min.js"></script>

Package managers

Bower: bower install isotope --save

npm: npm install isotope-layout --save

License

Commerical 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 a 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

In JavaScript

// jQuery
$('#container').isotope({
  // options...
  itemSelector: '.item',
  masonry: {
    columnWidth: 200
  }
});
// vanilla JS
var container = document.querySelector('#container');
var iso = new Isotope( container, {
  // options...
  itemSelector: '.item',
  masonry: {
    columnWidth: 200
  }
});

In HTML

Add a class of js-isotope to your element. Options can be set in JSON in data-isotope-options.

<div id="container" class="js-isotope"
  data-isotope-options='{ "itemSelector": ".item", "masonry": { "columnWidth": 200 } }'>
  <div class="item"></div>
  <div class="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