@@include('global/_head.html',{ "headTitle": "Vendor plugin", "dropify": "true", "prism": "true" }) @@include('docs/_sidebar.html', {"page": "plugins"})
@@include('global/_page-header.html', {"PageHeader": "sticky-top"} )

Masonry Gallery

How it works

Masonry is a JavaScript grid layout library. It works by placing elements in optimal position based on available vertical space, sort of like a mason fitting stones in a wall. You’ve probably seen it in use all over the Internet. Masonry

<!-- Plugin Js -->
<script src="assets/bundles/masonry.bundle.js"></script>

<!-- HTML -->
<div class="row m-grid g-2" data-masonry='{ "itemSelector": ".grid-item" }'>
	<div class="col grid-item"><img class="img-fluid rounded-4" src="img url here" alt="" ></div>
</div>

<!-- Page Js -->
<script>
	$('.m-grid').masonry({
		// options...
		itemSelector: '.grid-item',
	});
</script>
Get started with Bootstrap @@include('docs/_quick-url.html')
@@include('global/_page-footer.html', {"PageFooter": ""} )
@@include('global/_full-screen-menu.html', {"divClass": ""} ) @@include('global/_need-help.html', {"divClass": "offcanvas-start"} ) @@include('global/_quick-access.html', {"divClass": "offcanvas-end"} ) @@include('global/_theme-setting.html', {"divClass": "offcanvas-end"} ) @@include('global/_site-map.html', {"divClass": "offcanvas-start sm"} ) @@include('global/_body-hero-img-2.html', {"bodyBgClass": "body-bg"} ) @@include('global/_plugin-script.html', { "masonry": "true", "prism": "true", })