---json { "page_id": "d2afbygfvqzs2j53y723u" } --- ====== ComboStrap UI - Masonry ====== ===== About ===== ''masonry'' is a [[docs:layout:component:component|layout component]]. Its children are laid out like a mason-fitting stones in a wall (placing elements based on available vertical space). This layout is handy when you want to lay out a list of components that do not have a uniform height (Ie to mix small and big cards for instance). A masonry layout is generally used with [[docs:block:card|cards]] or [[docs:block:blockquote|blockquotes]]. ===== Syntax ===== ===== Example ===== ==== With static element ==== {{:teaser_image_1.png|}} Teaser Title A example taken from [[https://getbootstrap.com/docs/4.3/components/card/#example|the bootstrap quick example]] on how to build a card title in order to make up the bulk of the teaser content. [[:start|Go to this page !]]
Lorem ipsum [[:start|dolor]] sit amet, consectetur adipiscing elit. Integer posuere erat a ante. Someone famous in [[:start|Source Title]]
==== With a dynamic list of pages ==== Example of a list of ''Recent Articles Changed'' with an [[docs:templating:iterator|iterator]]. select where path != ':start' and is_low_quality = 0 order by date_modified desc limit 8 Recent Articles Changed $title //Modified - ${date_modified | format('EEEE dd MMMM')}// ${description | head(100, "...")} [[$path| ]] ===== Support ===== ==== Bootstrap 5 support ==== If you use [[release:archive:1.13_bootstrap5|Bootstrap version 5]], you may see that the output is slightly different than with Bootstrap version 4. This is because [[release:archive:1.13_bootstrap5|Bootstrap version 5]] does not support ''card-column'' anymore and we have implemented it manually.