# Isotope _Filter & sort magical layouts_ See [isotope.metafizzy.co](http://isotope.metafizzy.co) for complete docs and demos. ## Install ### Download + [isotope.pkgd.js](https://github.com/metafizzy/isotope/raw/master/dist/isotope.pkgd.js) un-minified, or + [isotope.pkgd.min.js](https://github.com/metafizzy/isotope/raw/master/dist/isotope.pkgd.min.js) minified ### CDN Link directly to [Isotope files on cdnjs](https://cdnjs.com/libraries/jquery.isotope). ``` html ``` ### 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](http://isotope.metafizzy.co/#commerical-license) ### Open source license If you are creating an open source application under a license compatible with the [GNU GPL license v3](https://www.gnu.org/licenses/gpl-3.0.html), you may use Isotope under the terms of the GPLv3. [Read more about Isotope's license](http://isotope.metafizzy.co/license.html). ## Initialize With jQuery ``` js $('.grid').isotope({ // options... itemSelector: '.grid-item', masonry: { columnWidth: 200 } }); ``` With vanilla JavaScript ``` js // 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`. ``` html
...
``` ## Support [CodersClan has a dedicated support forum for Isotope](https://www.codersclan.net/?repo_id=1), where you can get personal support from experienced developers. #### [Get support on CodersClan](https://www.codersclan.net/?repo_id=1) * * * By [Metafizzy](http://metafizzy.co)