Products

Regular product

Heading 1

Heading 1

Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.

  • Lorem
  • Ipsum
Heading 2

Heading 2

Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.

Everything in heading 1 is included

Heading 3

Heading 3

Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.

Everything in heading 2 is included

<div class="o-grid">
    <div class="o-grid-4@md">
            <!-- product.blade.php -->
<div class="c-product" id="66225f42292b6" data-uid="66225f42292c7">
        <!-- card.blade.php -->
<div class="c-card c-card--default c-card--image-first c-card--ratio-4-3" data-uid="66225f42295f8">
        <div class="c-card__image c-card__image--primary c-product__image-container">
    <img class="c-product__image c-product__image--primary" src="/assets/img/component.svg" alt="Heading 1" />
</div>
        <div class="c-card__header c-product__header">
        <!-- typography.blade.php   original: h2 -->
<h2 class="c-typography c-product__heading c-product__heading--primary c-typography__variant--h3" data-uid="66225f422938d">
    Heading 1
</h2>        <!-- typography.blade.php   original: p -->
<p class="c-typography c-product__label c-typography__variant--p" data-uid="66225f42293ce">
    Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
</p></div>        <div class="c-card__body c-product__body">
                    <!-- listing.blade.php -->
    <ul class="c-listing c-product__listing c-product__listing--primary" data-uid="66225f4229443">

                    
                                                <li class="c-listing__item c-listing__item-0">
                                                <span class="c-listing__label">
                                                            Lorem
                                                    </span>
                         
                    </li>
                                                
                                                <li class="c-listing__item c-listing__item-1">
                                                <span class="c-listing__label">
                                                            Ipsum
                                                    </span>
                         
                    </li>
                                    
        </ul>
        </div>        <div class="c-card__footer c-product__footer">
                <div class="c-product__prices has-button">
    <div class="c-product__price c-product__price--primary">
            <!-- typography.blade.php   original: span -->
<span class="c-typography c-product__amount c-typography__variant--marketing" data-uid="66225f42294d3">
    249
</span>                        <!-- typography.blade.php   original: span -->
<span class="c-typography c-product__currency c-typography__variant--marketing" data-uid="66225f4229500">
    :-
</span>                                <!-- typography.blade.php   original: span -->
<span class="c-typography c-product__frequency c-typography__variant--subtitle" data-uid="66225f4229529">
    <span class="c-product__seperator">/</span>
                mon
</span>            </div>
</div>
                <a class="c-button c-product__button c-button__filled c-button__filled--primary c-button--md" target="_top" type="filled" href="#" aria-label="Buy" data-uid="66225f4229596">   
     <span class="c-button__label">         
        
                    <span class="c-button__label-text ">
                Buy
            </span>
        
    </span> </a>
        </div>
    </div>

</div>
    </div>
    <div class="o-grid-4@md">
            <!-- product.blade.php -->
<div class="c-product" id="66225f422962f" data-uid="66225f4229635">
        <!-- card.blade.php -->
<div class="c-card c-card--default c-card--image-first c-card--ratio-4-3" data-uid="66225f42298b4">
        <div class="c-card__image c-card__image--secondary c-product__image-container">
    <img class="c-product__image c-product__image--secondary" src="/assets/img/component.svg" alt="Heading 2" />
</div>
        <div class="c-card__header c-product__header">
        <!-- typography.blade.php   original: h2 -->
<h2 class="c-typography c-product__heading c-product__heading--secondary c-typography__variant--h3" data-uid="66225f4229685">
    Heading 2
</h2>        <!-- typography.blade.php   original: p -->
<p class="c-typography c-product__label c-typography__variant--p" data-uid="66225f42296b0">
    Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
</p></div>        <div class="c-card__body c-product__body">
                <!-- typography.blade.php   original: p -->
<p class="c-typography c-product__meta c-typography__variant--meta" data-uid="66225f42296ea">
    Everything in heading 1 is included
</p>                    <!-- listing.blade.php -->
    <ul class="c-listing c-product__listing c-product__listing--secondary" data-uid="66225f4229711">

                    
                                                <li class="c-listing__item c-listing__item-0">
                        <a class="c-listing__link" href="#" aria-label="Lorem">
                                                        <span class="c-listing__label">
                              Lorem
                            </span>
                                                                <!-- icon.blade.php -->
    <span class="c-icon c-icon--chevron-right c-icon--material c-icon--material-chevron_right material-symbols-outlined material-symbols-outlined--filled c-icon--size-md" material-symbol="chevron_right" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" aria-hidden="true" data-uid="66225f4229770">
                chevron_right
    </span>
                                                    </a>
                         
                    </li>
                                                
                                                <li class="c-listing__item c-listing__item-1">
                                                <span class="c-listing__label">
                                                            Ipsum
                                                    </span>
                         
                    </li>
                                    
        </ul>
        </div>        <div class="c-card__footer c-product__footer">
                <div class="c-product__prices has-button">
    <div class="c-product__price c-product__price--secondary">
            <!-- typography.blade.php   original: span -->
<span class="c-typography c-product__amount c-typography__variant--marketing" data-uid="66225f42297ec">
    349
</span>                        <!-- typography.blade.php   original: span -->
<span class="c-typography c-product__currency c-typography__variant--marketing" data-uid="66225f4229815">
    :-
</span>                                <!-- typography.blade.php   original: span -->
<span class="c-typography c-product__frequency c-typography__variant--subtitle" data-uid="66225f422983c">
    <span class="c-product__seperator">/</span>
                mon
</span>            </div>
</div>
                <a class="c-button c-product__button c-button__filled c-button__filled--secondary c-button--md" target="_top" type="filled" href="#" aria-label="Buy" data-uid="66225f422987c">   
     <span class="c-button__label">         
        
                    <span class="c-button__label-text ">
                Buy
            </span>
        
    </span> </a>
        </div>
    </div>

</div>
    </div>
     <div class="o-grid-4@md">
            <!-- product.blade.php -->
<div class="c-product" id="66225f42298e3" data-uid="66225f42298e8">
        <!-- card.blade.php -->
<div class="c-card c-card--default c-card--image-first c-card--ratio-4-3" data-uid="66225f4229b0e">
        <div class="c-card__image c-card__image--custom c-product__image-container">
    <img class="c-product__image c-product__image--custom" src="/assets/img/component.svg" alt="Heading 3" />
</div>
        <div class="c-card__header c-product__header">
        <!-- typography.blade.php   original: h2 -->
<h2 class="c-typography c-product__heading c-product__heading--custom c-typography__variant--h3" data-uid="66225f4229931">
    Heading 3
</h2>        <!-- typography.blade.php   original: p -->
<p class="c-typography c-product__label c-typography__variant--p" data-uid="66225f422995b">
    Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
</p></div>        <div class="c-card__body c-product__body">
                <!-- typography.blade.php   original: p -->
<p class="c-typography c-product__meta c-typography__variant--meta" data-uid="66225f4229991">
    Everything in heading 2 is included
</p>                    <!-- listing.blade.php -->
    <ul class="c-listing c-product__listing c-product__listing--custom" data-uid="66225f42299b7">

                    
                                                <li class="c-listing__item c-listing__item-0">
                        <a class="c-listing__link" href="#" aria-label="Lorem">
                                                        <span class="c-listing__label">
                              Lorem
                            </span>
                                                                <!-- icon.blade.php -->
    <span class="c-icon c-icon--chevron-right c-icon--material c-icon--material-chevron_right material-symbols-outlined material-symbols-outlined--filled c-icon--size-md" material-symbol="chevron_right" role="img" aria-label="Icon: Undefined" alt="Icon: Undefined" data-nosnippet="" translate="no" aria-hidden="true" data-uid="66225f42299ea">
                chevron_right
    </span>
                                                    </a>
                         
                    </li>
                                                
                                                <li class="c-listing__item c-listing__item-1">
                                                <span class="c-listing__label">
                                                            Ipsum
                                                    </span>
                         
                    </li>
                                    
        </ul>
        </div>        <div class="c-card__footer c-product__footer">
                <div class="c-product__prices has-button">
    <div class="c-product__price c-product__price--custom">
            <!-- typography.blade.php   original: span -->
<span class="c-typography c-product__amount c-typography__variant--marketing" data-uid="66225f4229a52">
    349
</span>                        <!-- typography.blade.php   original: span -->
<span class="c-typography c-product__currency c-typography__variant--marketing" data-uid="66225f4229a7a">
    :-
</span>                                <!-- typography.blade.php   original: span -->
<span class="c-typography c-product__frequency c-typography__variant--subtitle" data-uid="66225f4229aaa">
    <span class="c-product__seperator">/</span>
                mon
</span>            </div>
</div>
                <a class="c-button c-product__button c-button__filled c-button__filled--custom c-button--md" target="_top" type="filled" href="#" aria-label="Buy" data-uid="66225f4229ae0">   
     <span class="c-button__label">         
        
                    <span class="c-button__label-text ">
                Buy
            </span>
        
    </span> </a>
        </div>
    </div>

</div>
    </div>
</div>
<div class="o-grid">
    <div class="o-grid-4@md">
        @product([
            'heading' => 'Heading 1',
            'label' => 'Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.',
            'image' => [
                'src' => '/assets/img/component.svg',
                'alt' => 'ALT', 
                'backgroundColor' => 'secondary',
                'padded' => true
            ],
            'prices' => [
                ['amount' => '249', 'currency' => ':-', 'frequency' => 'mon']
            ],
            'bulletPoints' => [
                ['label' => 'Lorem'],
                ['label' => 'Ipsum']
            ],
            'button' => ['type' => 'filled', 'text' => 'Buy', 'href' => '#']
        ])
        @endproduct
    </div>
    <div class="o-grid-4@md">
        @product([
            'heading' => 'Heading 2',
            'backgroundColor' => 'secondary',
            'label' => 'Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.',
            'image' => [
                'src' => '/assets/img/component.svg',
                'alt' => 'ALT', 
                'backgroundColor' => 'secondary',
                'padded' => true
            ],
            'meta' => 'Everything in heading 1 is included',
            'prices' => [
                ['amount' => '349', 'currency' => ':-', 'frequency' => 'mon']
            ],
            'bulletPoints' => [
                ['label' => 'Lorem', 'href' => '#'],
                ['label' => 'Ipsum']
            ],
            'button' => ['type' => 'filled', 'text' => 'Buy', 'href' => '#']
        ])
        @endproduct
    </div>
     <div class="o-grid-4@md">
        @product([
            'heading' => 'Heading 3',
            'backgroundColor' => 'custom',
            'label' => 'Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.',
            'image' => [
                'src' => '/assets/img/component.svg',
                'alt' => 'ALT', 
                'backgroundColor' => 'secondary',
                'padded' => true
            ],
            'meta' => 'Everything in heading 2 is included',
            'prices' => [
                ['amount' => '349', 'currency' => ':-', 'frequency' => 'mon']
            ],
            'bulletPoints' => [
                ['label' => 'Lorem', 'href' => '#'],
                ['label' => 'Ipsum']
            ],
            'button' => ['type' => 'filled', 'text' => 'Buy', 'href' => '#']
        ])
        @endproduct
    </div>
</div>

Blade component parameters

Key Default value Type Available values Description
heading string - Product name
backgroundColor primary string - Background color to use
image false boolean - An image object
prices [] array - Array of price objects
currencyFirst false boolean - Should currency be displayed before the price
label string - Label describing the product
meta string - Extra text displayed above bullet points
bulletPoints [] array - Array of bullet points for the product
button [] array - The button to display at the bottom
featured false boolean - Is the product featured? Make the product stand out from the rest
id string - The DOM id of the component.
classList [] array - Array containing wrapping classes array
attributeList [] array - Array containing keys and values rendered as attributes
containerAware false boolean true/false Makes the component container aware. Appends modifiers --size--xs/sm/md/lg to the component.
Settings location: /var/www/webroot/ROOT/vendor/helsingborg-stad/component-library/source/php/Component/Product/product.json