Billboard (billboard)

A billboard style call-out with image, text and link. The image and copy stack vertically on small screens, and run full width horizontally on larger screens.

🔗 External documentation.

ID Label Description Schema
image Image Billboard image.
title Title Billboard title.
desc Description Billboard description.
cta_link CTA link Billboard CTA link
heading_level Heading level
                        type: integer
enum:
    - 2
    - 3
    - 4
    - 5
    - 6

                      
            id: billboard
label: Billboard
description: 'A billboard style call-out with image, text and link. The image and copy stack vertically on small screens, and run full width horizontally on larger screens. '
homepage: 'https://protocol.mozilla.org/components/detail/billboard.html'
variants:
    right:
        id: right
        label: 'Right (Default)'
    left:
        id: left
        label: Left
slots:
    image:
        id: image
        label: Image
        description: 'Billboard image.'
    title:
        id: title
        label: Title
        description: 'Billboard title.'
    desc:
        id: desc
        label: Description
        description: 'Billboard description.'
    cta_link:
        id: cta_link
        label: 'CTA link'
        description: 'Billboard CTA link'
props:
    heading_level:
        id: heading_level
        label: 'Heading level'
        schema:
            type: integer
            enum:
                - 2
                - 3
                - 4
                - 5
                - 6
examples:
    preview:
        id: preview
        label: Preview
        renderable:
            '@component': billboard
            image:
                '@element': img
                src: 'https://data.dilla.io/protocol_1/assets/billboard-image.png'
            title: 'Example headline with 35 characters'
            desc: 'A description with a maximum of 100 characters. That usually means only one or two sentences.'
            cta_link:
                '@element': a
                '@content': 'Learn more about us'
                href: '#'
            heading_level: 3

          

Right (Default) ( right )

Example headline with 35 characters

A description with a maximum of 100 characters. That usually means only one or two sentences.

Learn more about us
<div class="mzp-l-billboard-right mzp-c-billboard"> <div class="mzp-c-billboard-image-container"> <img class="mzp-c-billboard-image" src="https://data.dilla.io/protocol_1/assets/billboard-image.png" /></div> <div class="mzp-c-billboard-content"> <div class="mzp-c-billboard-content-container"> <div class="mzp-c-billboard-content-inner"> <h3 class="mzp-c-billboard-title">Example headline with 35 characters</h3> <p class="mzp-c-billboard-desc">A description with a maximum of 100 characters. That usually means only one or two sentences.</p> <a class="mzp-c-cta-link" href="#">Learn more about us</a> </div> </div> </div> </div>

Left ( left )

Example headline with 35 characters

A description with a maximum of 100 characters. That usually means only one or two sentences.

Learn more about us
<div class="mzp-l-billboard-left mzp-c-billboard"> <div class="mzp-c-billboard-image-container"> <img class="mzp-c-billboard-image" src="https://data.dilla.io/protocol_1/assets/billboard-image.png" /></div> <div class="mzp-c-billboard-content"> <div class="mzp-c-billboard-content-container"> <div class="mzp-c-billboard-content-inner"> <h3 class="mzp-c-billboard-title">Example headline with 35 characters</h3> <p class="mzp-c-billboard-desc">A description with a maximum of 100 characters. That usually means only one or two sentences.</p> <a class="mzp-c-cta-link" href="#">Learn more about us</a> </div> </div> </div> </div>