ComboStrap UI - Masonry

Undraw Website Builder Re Ii6e

About

masonry is a 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 cards or blockquotes.

Syntax

<masonry>
   <!-- Component -->
</masonry>

Example

With static element

<masonry>

    <card>
        {{:teaser_image_1.png|}}
        <heading 3>Teaser Title</heading>
        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. 
        
        <btn>[[:start|Go to this page !]]</btn>
    </card>


    <blockquote>
        Lorem ipsum [[:start|dolor]] sit amet, consectetur adipiscing elit. Integer posuere erat a ante.
        <cite>Someone famous in [[:start|Source Title]]</cite>
    </blockquote>

</masonry>
Teaser Image 1
Teaser Title

A example taken from the bootstrap quick example on how to build a card title in order to make up the bulk of the teaser content.

Go to this page !

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

With a dynamic list of pages

Example of a list of Recent Articles Changed with an iterator.

<iterator>
    <data>select where path != ':start' and is_low_quality = 0 order by date_modified desc limit 8</data>
    <heading d4 align="text-center" spacing="mb-3"> Recent Articles Changed </heading>
    <masonry>
        <fragment>
            <card clickable>
            <page-image featured ratio="21:9" default="first|ancestor|vignette|logo" />
            <heading 3>$title</heading>
            <itext color="muted">//Modified - ${date_modified | format('EEEE dd MMMM')}//</itext>

            ${description | head(100, "...")}  [[$path| ]]
            </card>
        </fragment>
    </masonry>
</iterator>
Recent Articles Changed
Undraw My Documents
ComboStrap WebSite

Modified - Thursday 28 November

A Combostrap WebSite is a collection of files (pages, images, ...) that can run everywhere thanks...

Undraw Design Objectives Re 94pd
How to add an Ad with the Ad Tag ?

Modified - Thursday 28 November

The ad tag is a syntax component of the ads module that will insert a ad (ie ad page). For instance,...

Undraw Design Objectives Re 94pd
ComboStrap - Ads

Modified - Thursday 28 November

Ads is a module that permits to add Ads snippet (known as Ad Unit) in your website. Ad Unit the location...

Hidepages Extrabar Configuration
ComboStrap Ads - Global Configuration

Modified - Thursday 28 November

For all ads module, the ads are located in the namespace (directory) called combostrap Ads page have...

Undraw Design Objectives Re 94pd
ComboStrap Ads - Automatic In-Article Ads

Modified - Thursday 28 November

In-article Ads are ads that will show up in the page content. spread the ads roughly to have one...

Ad Sense Snippet
What is an ad Page?

Modified - Thursday 28 November

An ad page is a page that contains the ad snippet (ie a bit of code that defines the content of the ad)....

Undraw My Documents
ComboStrap Analytics - Data (JSON)

Modified - Thursday 28 November

ComboStrap performs regularly analytical calculation on pages. The analytical data are composed of...

Undraw My Documents
ComboStrap Analytics - Database

Modified - Thursday 28 November

All ComboStrap data are stored in a Sqlite Database that you can query online The database schema...

Support

Bootstrap 5 support

If you use Bootstrap version 5, you may see that the output is slightly different than with Bootstrap version 4.

This is because Bootstrap version 5 does not support card-column anymore and we have implemented it manually.




Showcase yourself and your brand

Get free news, tips, and tricks
to create a remarkable experience for your readers.




Recommended Pages
Card Illustration
ComboStrap UI - Card

A card is a box composed of an image, a text and a call to action
Undraw Website Builder Re Ii6e
Layout components of Combostrap

A layout component is a component that laid out other components. This page lists the layout component of ComboStrap
Undraw Building Websites I78t
The iterator: Pages iteration made easy

With the fragment iterator, you can loop over a content fragment to create any list of page components such as the list of the last blog or recent pages
Undraw My Documents
What is a blockquote widget and how to use it

A blockquote is a extract from another source and is set appart with a citation.



Task Runner