Provides a masonry component for use with SilverWare.
Installation is via Composer:
$ composer require silverware/masonry
This module provides a
MasonryComponent which accepts an implementation of
order to render the list items using a masonry layout. It is recommended that the list items provide
a image via
SilverWare\Extensions\Model\MetaDataExtension in order to be rendered correctly.
To make use of this component:
MasonryComponentto your SilverWare template or layout.
On the Style tab, you may choose either "Pixels" or "Percentages" for the column widths of the component. For each type of unit, fields are available to specify the column width per viewport size:
As SilverWare uses a mobile-first approach, enter at least one width in the "Tiny" field.
On the Style tab, you may also define the gutter size in pixels. The gutter is the amount of space between each item in the masonry grid.
The component defaults to using a horizontal order for the rendered items. On the Options tab, you may uncheck the "Order items horizontally" checkbox to alter the layout order. For more information, please see the Masonry documentation.
Please use the GitHub issue tracker for bug reports and feature requests.
Your contributions are gladly welcomed to help make this project better. Please see contributing for more information.
BSD-3-Clause © Praxis Interactive
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem