The Card component provides a reusable pattern for card in the interface.
Meta first
Eyebrow
Heading
This is the meta (after title)
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
This is the meta (before title)
123 AVC Heading
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
<div class="o-grid">
<div class="o-grid-4@md">
<!-- card.blade.php -->
<div class="c-card c-card--has-image c-card--ratio-16-9" data-component="card">
<div class="c-card__paint-container">
<div class="c-card__image-container" data-component="card__image">
<!-- image.blade.php -->
<figure class="c-image c-card__image c-image--type-svg c-image--cover" data-component="image">
<div class="c-image__image-wrapper">
<img class="c-image__image" src="/assets/img/component.svg" alt="ALT" loading="lazy" />
</div>
</figure>
</div>
<div class="c-card__body" data-component="card__body">
<!-- group.blade.php -->
<div class="c-group c-card__heading-container c-group--horizontal c-group--justify-content-space-between c-group--align-items-center" data-component="group">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-component="group">
<!-- typography.blade.php original: span -->
<span class="c-typography c-card__eyebrow u-margin__bottom--2 c-typography__variant--meta" data-component="typography"><span>Eyebrow</span></span>
<!-- typography.blade.php original: h2 -->
<h2 class="c-typography c-card__heading u-margin__y--0 c-typography__variant--h3" data-component="typography">
Heading
</h2><!-- typography.blade.php original: span -->
<span class="c-typography c-typography__variant--meta" data-component="typography">This is the meta (after title)</span>
</div>
</div><!-- typography.blade.php original: span -->
<span class="c-typography c-card__date c-typography__variant--meta" data-component="typography"><!-- icon.blade.php -->
<time class="c-date" data-date="2026-09-19T21:17:45" datetime="2026-09-19T21:17:45" data-component="date">Sat 19 Sep 2026</time></span> <!-- typography.blade.php original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-component="typography">
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>
</div>
</div>
<div class="o-grid-4@md">
<!-- card.blade.php -->
<div class="c-card c-card--has-image c-card--ratio-16-9" data-component="card">
<div class="c-card__paint-container">
<div class="c-card__image-container" data-component="card__image">
<!-- image.blade.php -->
<figure class="c-image c-card__image c-image--type-svg c-image--cover" data-component="image">
<div class="c-image__image-wrapper">
<img class="c-image__image" src="/assets/img/component.svg" alt="ALT" loading="lazy" />
</div>
</figure>
</div>
<div class="c-card__body" data-component="card__body">
<!-- typography.blade.php original: span -->
<span class="c-typography c-typography__variant--meta" data-component="typography">This is the meta (before title)</span> <!-- group.blade.php -->
<div class="c-group c-card__heading-container c-group--horizontal c-group--justify-content-space-between c-group--align-items-center" data-component="group">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-component="group">
<!-- typography.blade.php original: h2 -->
<h2 class="c-typography c-card__heading u-margin__y--0 c-typography__variant--h3" data-component="typography">
123 AVC Heading
</h2>
</div>
</div><!-- typography.blade.php original: span -->
<span class="c-typography c-card__date c-typography__variant--meta" data-component="typography"><!-- icon.blade.php -->
<time class="c-date" data-date="2026-09-19T21:17:45" datetime="2026-09-19T21:17:45" data-component="date">Sat 19 Sep 2026</time></span> <!-- typography.blade.php original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-component="typography">
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>
</div>
</div>
</div>
<div class="o-grid">
<div class="o-grid-4@md">
@card([
'eyebrow' => 'Eyebrow',
'color' => 'primary',
'heading' => 'Heading',
'content' => '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' => "This is the meta (after title)",
'date' => date('Y-m-d H:i:s')
])
@endcard
</div>
<div class="o-grid-4@md">
@card([
'color' => 'primary',
'heading' => '123 AVC Heading',
'content' => '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' => "This is the meta (before title)",
'metaFirst' => true,
'date' => date('Y-m-d H:i:s')
])
@endcard
</div>
</div>
Only slot
Here we've only sent data to the slot and nothing with the parameters.
Heading
SubHeading
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
<div class="o-grid">
<div class="o-grid-4@md">
<!-- card.blade.php -->
<div class="c-card c-card--panel c-card--highlight c-card--ratio-16-9" data-component="card">
<div class="c-card__paint-container">
<div class="c-card__header" data-component="card__header">
<!-- typography.blade.php original: p -->
<p class="c-typography c-typography__variant--h2" data-component="typography">
Heading
</p><!-- typography.blade.php original: p -->
<p class="c-typography c-typography__variant--h4" data-component="typography">
SubHeading
</p>
</div>
<div class="c-card__body" data-component="card__body">
<!-- typography.blade.php original: p -->
<p class="c-typography c-typography__variant--p" data-component="typography">
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>
</div>
</div>
</div>
<div class="o-grid">
<div class="o-grid-4@md">
@card([
'classList' => [
'c-card--panel',
'c-card--highlight'
]
])
@card__header()
@typography([
'variant' => 'h2'
])
Heading
@endtypography
@typography([
'variant' => 'h4'
])
SubHeading
@endtypography
@endcard__header
@card__body()
@typography([
'variant' => 'p'
])
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
@endtypography
@endcard__body
@endcard
</div>
</div>
Card with a collapsible body
Heading
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
<div class="o-grid">
<div class="o-grid-4@md">
<!-- card.blade.php -->
<div class="c-card c-card--has-image c-card--ratio-16-9" data-component="card">
<div class="c-card__paint-container">
<div class="c-card__image-container" data-component="card__image">
<!-- image.blade.php -->
<figure class="c-image c-card__image c-image--type-jpg c-image--cover" data-component="image">
<div class="c-image__image-wrapper">
<img class="c-image__image" src="https://www.w3schools.com/w3css/img_lights.jpg" alt="ALT" loading="lazy" />
</div>
</figure>
</div>
<div class="c-card__body" data-component="card__body">
<!-- group.blade.php -->
<div class="c-group c-card__heading-container c-group--horizontal c-group--justify-content-space-between c-group--align-items-center" data-component="group">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-component="group">
<!-- typography.blade.php original: h2 -->
<h2 class="c-typography c-card__heading u-margin__y--0 c-typography__variant--h3" data-component="typography">
Heading
</h2>
</div><button class="c-button c-card__title-expand-button c-button__basic c-button__basic--default c-button--md c-button__toggle c-button--icon-only" js-toggle-trigger="6aaefbf98800b"
data-toggle-icon="close" aria-pressed="false" aria-label="expand_more" type="button" data-component="button"><span class="c-button__label"><span class="c-button__label-icon">
<!-- icon.blade.php -->
</span></span></button>
</div>
<div class="c-card--collapse" data-js-toggle-class="c-card--collapse" data-js-toggle-item="6aaefbf98800b">
<!-- typography.blade.php original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-component="typography">
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>
</div>
</div>
</div>
</div>
<div class="o-grid">
<div class="o-grid-4@md">
@card([
'collapsible' => true,
'heading' => 'Heading',
'content' => 'Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.',
'image' => ['src' => 'https://www.w3schools.com/w3css/img_lights.jpg', 'alt' => 'ALT']
])
@endcard
</div>
</div>
Card images
The images can be set to cover 100% of the width or if you wish set padded to true to keep the image in the middle. You can also set a background color which can be seen in the example with padding.
Sep
19
Heading
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
123 AVC Heading
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
<div class="o-grid">
<div class="o-grid-4@md">
<!-- card.blade.php -->
<div class="c-card c-card--has-image c-card--has-datebadge c-card--ratio-16-9" data-component="card">
<div class="c-card__paint-container">
<div class="c-card__image-container" data-component="card__image">
<!-- image.blade.php -->
<figure class="c-image c-card__image c-image--type-1&ixid=eyjhchbfawqiojeymdd9&w=1000&q=80 c-image--cover" data-component="image">
<div class="c-image__image-wrapper">
<img class="c-image__image" src="https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&w=1000&q=80" alt="ALT" loading=
"lazy" />
</div>
</figure>
</div>
<div class="c-card__body" data-component="card__body">
<!-- datebadge.blade.php -->
<div class="c-datebadge c-card__datebadge c-datebadge--md c-datebadge--light" data-component="datebadge">
<div class="c-element c-datebadge__container" data-component="element">
<!-- typography.blade.php original: span -->
<span class="c-typography c-datebadge__month c-typography__variant--span" data-component="typography">Sep</span> <!-- typography.blade.php original: span -->
<span class="c-typography c-datebadge__date c-typography__variant--span" data-component="typography">19</span>
</div>
</div><!-- group.blade.php -->
<div class="c-group c-card__heading-container c-group--horizontal c-group--justify-content-space-between c-group--align-items-center" data-component="group">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-component="group">
<!-- typography.blade.php original: h2 -->
<h2 class="c-typography c-card__heading u-margin__y--0 c-typography__variant--h3" data-component="typography">
Heading
</h2>
</div>
</div><!-- typography.blade.php original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-component="typography">
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>
</div>
</div>
<div class="o-grid-4@md">
<!-- card.blade.php -->
<div class="c-card c-card--has-image c-card--ratio-16-9" data-component="card">
<div class="c-card__paint-container">
<div class="c-card__image-container" data-component="card__image">
<!-- image.blade.php -->
<figure class="c-image c-card__image c-image--type-svg c-image--cover" data-component="image">
<div class="c-image__image-wrapper">
<img class="c-image__image" src="/assets/img/component.svg" alt="ALT" loading="lazy" />
</div>
</figure>
</div>
<div class="c-card__body" data-component="card__body">
<!-- group.blade.php -->
<div class="c-group c-card__heading-container c-group--horizontal c-group--justify-content-space-between c-group--align-items-center" data-component="group">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-component="group">
<!-- typography.blade.php original: h2 -->
<h2 class="c-typography c-card__heading u-margin__y--0 c-typography__variant--h3" data-component="typography">
123 AVC Heading
</h2>
</div>
</div><!-- typography.blade.php original: span -->
<span class="c-typography c-card__date c-typography__variant--meta" data-component="typography"><!-- icon.blade.php -->
<time class="c-date" data-date="2026-09-19T21:17:45" datetime="2026-09-19T21:17:45" data-component="date">Sat 19 Sep 2026</time></span> <!-- typography.blade.php original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-component="typography">
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>
</div>
</div>
</div>
<div class="o-grid">
<div class="o-grid-4@md">
@card([
'heading' => 'Heading',
'content' => 'Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.',
'image' => [
'src' => 'https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&w=1000&q=80',
'alt' => 'ALT',
'backgroundColor' => 'secondary',
'square' => true
],
'date' => date('Y-m-d H:i:s'),
'dateBadge' => true
])
@endcard
</div>
<div class="o-grid-4@md">
@card([
'color' => 'primary',
'heading' => '123 AVC Heading',
'content' => '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
],
'date' => date('Y-m-d H:i:s')
])
@endcard
</div>
</div>
Card with date badge
Cards with date badges can be used to show the date of the card.
Sep
19
With image
lorem ipsum dolor sit amet, consectetur adipiscing elit
Sep
19
With Placeholder
lorem ipsum dolor sit amet, consectetur adipiscing elit
Sep
19
Without image
lorem ipsum dolor sit amet, consectetur adipiscing elit
<div class="o-grid">
<div class="o-grid-4@md">
<!-- card.blade.php -->
<a class="c-card c-card--has-image c-card--action c-card--ratio-16-9" href="https://getmunicipio.com" aria-label="Heading - Linked card is not compatible with either dropdown or buttons."
data-component="card">
<div class="c-card__paint-container">
<div class="c-card__image-container" data-component="card__image">
<!-- image.blade.php -->
<figure class="c-image c-card__image c-image--type-jpg c-image--cover" data-component="image">
<div class="c-image__image-wrapper">
<img class="c-image__image" src="https://www.w3schools.com/w3css/img_lights.jpg" alt="ALT" loading="lazy" />
</div>
</figure>
</div>
<div class="c-card__body" data-component="card__body">
<!-- group.blade.php -->
<div class="c-group c-card__heading-container c-group--horizontal c-group--justify-content-space-between c-group--align-items-center" data-component="group">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-component="group">
<!-- typography.blade.php original: h2 -->
<h2 class="c-typography c-card__heading u-margin__y--0 c-typography__variant--h3" data-component="typography">
Heading
</h2>
</div>
</div><!-- typography.blade.php original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-component="typography">
Linked card is not compatible with either dropdown or buttons. Markup will break if used togheter.
</p>
</div>
</div></a>
</div>
</div>
<div class="o-grid">
<div class="o-grid-4@md">
@card([
'heading' => 'Heading',
'content' => 'Linked card is not compatible with either dropdown or buttons. Markup will break if used togheter.',
'image' => ['src' => 'https://www.w3schools.com/w3css/img_lights.jpg', 'alt' => 'ALT'],
'link' => "https://getmunicipio.com"
])
@endcard
</div>
</div>
Container Aware
Enables container awareness on the component (adjusts layout depending on available space).
Resize the preview above to see the card's container aware feature.
<div class="c-card c-card--has-image c-card--has-footer c-card--ratio-16-9" data-component="card">
<div class="c-card__paint-container">
<div class="c-card__image-container" data-component="card__image">
<!-- image.blade.php -->
<figure class="c-image c-card__image c-image--type-jpg c-image--cover" data-component="image">
<div class="c-image__image-wrapper">
<img class="c-image__image" src="https://www.w3schools.com/w3css/img_lights.jpg" alt="ALT" loading="lazy" />
</div>
</figure>
</div>
<div class="c-card__body" data-component="card__body">
<!-- group.blade.php -->
<div class="c-group c-card__heading-container c-group--horizontal c-group--justify-content-space-between c-group--align-items-center" data-component="group">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-component="group">
<!-- typography.blade.php original: h2 -->
<h2 class="c-typography c-card__heading u-margin__y--0 c-typography__variant--h3" data-component="typography">
Heading
</h2>
</div>
</div><!-- typography.blade.php original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-component="typography">
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely
used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more
advanced components. 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__footer" data-js-toggle-class="u-display--none" data-js-toggle-item="6aaefbf990b55" data-component="card__footer">
<button class="c-button c-button__filled c-button__filled--primary c-button--md" aria-label="Lets go!" data-component="button"><span class="c-button__label"><span class=
"c-button__label-text">Lets go!</span></span></button> <button class="c-button c-button__filled c-button__filled--primary c-button--md" aria-label="Lets go!" data-component=
"button"><span class="c-button__label"><span class="c-button__label-text">Lets go!</span></span></button>
</div>
</div>
</div><br />
<!-- card.blade.php -->
<div class="c-card c-card--has-footer c-card--ratio-16-9" data-component="card">
<div class="c-card__paint-container">
<div class="c-card__body" data-component="card__body">
<!-- group.blade.php -->
<div class="c-group c-card__heading-container c-group--horizontal c-group--justify-content-space-between c-group--align-items-center" data-component="group">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-component="group">
<!-- typography.blade.php original: h2 -->
<h2 class="c-typography c-card__heading u-margin__y--0 c-typography__variant--h3" data-component="typography">
Heading
</h2>
</div>
</div><!-- typography.blade.php original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-component="typography">
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely
used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more
advanced components. 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__footer" data-js-toggle-class="u-display--none" data-js-toggle-item="6aaefbf9916de" data-component="card__footer">
<button class="c-button c-button__filled c-button__filled--primary c-button--md" aria-label="Lets go!" data-component="button"><span class="c-button__label"><span class=
"c-button__label-text">Lets go!</span></span></button> <button class="c-button c-button__filled c-button__filled--primary c-button--md" aria-label="Lets go!" data-component=
"button"><span class="c-button__label"><span class="c-button__label-text">Lets go!</span></span></button>
</div>
</div>
</div><!-- typography.blade.php original: p -->
<p class="c-typography c-typography__variant--meta" data-component="typography">
Resize the preview above to see the card's container aware feature.
</p>
@card([
'collapsible' => false,
'heading' => 'Heading',
'content' => 'Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.',
'image' => ['src' => 'https://www.w3schools.com/w3css/img_lights.jpg', 'alt' => 'ALT'],
'buttons' => [
['type' => 'filled', 'color' => 'primary', 'text' => 'Lets go!'],
['type' => 'filled', 'color' => 'primary', 'text' => 'Lets go!']
],
])
@endcard
<br/>
@card([
'collapsible' => false,
'heading' => 'Heading',
'content' => 'Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.',
'buttons' => [
['type' => 'filled', 'color' => 'primary', 'text' => 'Lets go!'],
['type' => 'filled', 'color' => 'primary', 'text' => 'Lets go!']
],
])
@endcard
@typography([
'variant' => 'meta'
])
Resize the preview above to see the card's container aware feature.
@endtypography
Inset Inherit
Demonstrate inset inheritance on the component & subcomponents (adjusts padding depending on available space).
Resize the preview above to see the card and nested accordion inherit the inset spacing.
<div class="c-card c-card--has-image c-card--has-footer c-card--ratio-16-9" data-component="card">
<div class="c-card__paint-container">
<div class="c-card__header" data-component="card__header">
<h3 class="c-card__heading">
Heading
</h3>
</div>
<div class="c-card__body u-padding--0" data-component="card__body">
<div class="c-accordion c-accordion c-accordion--bordered" style="--c-accordion--heading-count: 1;" id="id_6aaefbf99227f" data-component="accordion">
<details class="c-accordion__item c-accordion__item" style="--c-accordion__item--heading-count: 1;" id="id_6aaefbf992320" data-component="accordion__item">
<summary class="c-element c-accordion__item__heading" data-component="element">
<!-- typography.blade.php original: span -->
<span class="c-typography c-accordion__item__heading-item c-typography__variant--h4" role="heading" aria-level="3" data-component="typography">Accordion heading</span>
<!-- icon.blade.php -->
</summary>
<div class="c-element c-accordion__item__content" data-component="element">
Accordion content should keep the same inset rhythm as the rest of the card when the container grows.
</div>
</details>
<details class="c-accordion__item c-accordion__item" style="--c-accordion__item--heading-count: 1;" id="id_6aaefbf99256a" data-component="accordion__item">
<summary class="c-element c-accordion__item__heading" data-component="element">
<!-- typography.blade.php original: span -->
<span class="c-typography c-accordion__item__heading-item c-typography__variant--h4" role="heading" aria-level="3" data-component="typography">Accordion heading</span>
<!-- icon.blade.php -->
</summary>
<div class="c-element c-accordion__item__content" data-component="element">
Accordion content should keep the same inset rhythm as the rest of the card when the container grows.
</div>
</details>
<details class="c-accordion__item c-accordion__item" style="--c-accordion__item--heading-count: 1;" id="id_6aaefbf9927a0" data-component="accordion__item">
<summary class="c-element c-accordion__item__heading" data-component="element">
<!-- typography.blade.php original: span -->
<span class="c-typography c-accordion__item__heading-item c-typography__variant--h4" role="heading" aria-level="3" data-component="typography">Accordion heading</span>
<!-- icon.blade.php -->
</summary>
<div class="c-element c-accordion__item__content" data-component="element">
Accordion content should keep the same inset rhythm as the rest of the card when the container grows.
</div>
</details>
</div>
</div>
</div>
</div><br />
<!-- card.blade.php -->
<div class="c-card c-card--has-footer c-card--ratio-16-9" data-component="card">
<div class="c-card__paint-container">
<div class="c-card__body" data-component="card__body">
<!-- group.blade.php -->
<div class="c-group c-card__heading-container c-group--horizontal c-group--justify-content-space-between c-group--align-items-center" data-component="group">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-component="group">
<!-- typography.blade.php original: h2 -->
<h2 class="c-typography c-card__heading u-margin__y--0 c-typography__variant--h3" data-component="typography">
Heading
</h2>
</div>
</div><!-- typography.blade.php original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-component="typography">
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely
used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more
advanced components. 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__footer" data-js-toggle-class="u-display--none" data-js-toggle-item="6aaefbf99e339" data-component="card__footer">
<button class="c-button c-button__filled c-button__filled--primary c-button--md" aria-label="Lets go!" data-component="button"><span class="c-button__label"><span class=
"c-button__label-text">Lets go!</span></span></button> <button class="c-button c-button__filled c-button__filled--primary c-button--md" aria-label="Lets go!" data-component=
"button"><span class="c-button__label"><span class="c-button__label-text">Lets go!</span></span></button>
</div>
</div>
</div><!-- typography.blade.php original: p -->
<p class="c-typography c-typography__variant--meta" data-component="typography">
Resize the preview above to see the card and nested accordion inherit the inset spacing.
</p>
@card([
'collapsible' => false,
'heading' => 'Heading',
'content' => 'Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.',
'image' => ['src' => 'https://www.w3schools.com/w3css/img_lights.jpg', 'alt' => 'ALT'],
'buttons' => [
['type' => 'filled', 'color' => 'primary', 'text' => 'Lets go!'],
['type' => 'filled', 'color' => 'primary', 'text' => 'Lets go!']
],
])
@card__header()
<h3 class="c-card__heading">Heading</h3>
@endcard__header
@card__body(['classList' => ['u-padding--0']])
@accordion([
'list' => [
[
'heading' => 'Accordion heading',
'content' => 'Accordion content should keep the same inset rhythm as the rest of the card when the container grows.'
],
[
'heading' => 'Accordion heading',
'content' => 'Accordion content should keep the same inset rhythm as the rest of the card when the container grows.'
],
[
'heading' => 'Accordion heading',
'content' => 'Accordion content should keep the same inset rhythm as the rest of the card when the container grows.'
]
]
])
@endaccordion
@endcard__body
@endcard
<br/>
@card([
'collapsible' => false,
'heading' => 'Heading',
'content' => 'Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components. Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.',
'buttons' => [
['type' => 'filled', 'color' => 'primary', 'text' => 'Lets go!'],
['type' => 'filled', 'color' => 'primary', 'text' => 'Lets go!']
],
])
@endcard
@typography([
'variant' => 'meta'
])
Resize the preview above to see the card and nested accordion inherit the inset spacing.
@endtypography
Card has action
Adds visual effect to indicate that the card has an action attached (i.e. a link)
<div class="o-grid">
<div class="o-grid-4@md">
@card([
'collapsible' => false,
'heading' => 'Heading',
'content' => ' aaaa Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.',
'image' => ['src' => 'https://www.w3schools.com/w3css/img_lights.jpg', 'alt' => 'ALT'],
'buttons' => [
['type' => 'filled', 'color' => 'primary', 'text' => 'Lets go!'],
['type' => 'filled', 'color' => 'primary', 'text' => 'Lets go!']
],
'icon' => ['icon' => 'settings', 'customColor' => '#000', 'size' => 'md'],
])
@endcard
</div>
</div>
Hightlight Card
A modifier to highlight the card.
TEST
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
<div class="o-grid">
<div class="o-grid-4@md">
<!-- card.blade.php -->
<div class="c-card c-card--highlight c-card--has-image c-card--ratio-16-9" data-component="card">
<div class="c-card__paint-container">
<div class="c-card__image-container" data-component="card__image">
<!-- image.blade.php -->
<figure class="c-image c-card__image c-image--type-jpg c-image--cover" data-component="image">
<div class="c-image__image-wrapper">
<img class="c-image__image" src="https://www.w3schools.com/w3css/img_lights.jpg" alt="ALT" loading="lazy" />
</div>
</figure>
</div>
<div class="c-card__body" data-component="card__body">
<!-- group.blade.php -->
<div class="c-group c-card__heading-container c-group--horizontal c-group--justify-content-space-between c-group--align-items-center" data-component="group">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-component="group">
<!-- typography.blade.php original: h2 -->
<h2 class="c-typography c-card__heading u-margin__y--0 c-typography__variant--h3" data-component="typography">
TEST
</h2>
</div><button class="c-button c-card__title-expand-button c-button__basic c-button__basic--default c-button--md c-button__toggle c-button--icon-only" js-toggle-trigger="6aaefbf99fb34"
data-toggle-icon="close" aria-pressed="false" aria-label="expand_more" type="button" data-component="button"><span class="c-button__label"><span class="c-button__label-icon">
<!-- icon.blade.php -->
</span></span></button>
</div>
<div class="c-card--collapse" data-js-toggle-class="c-card--collapse" data-js-toggle-item="6aaefbf99fb34">
<!-- typography.blade.php original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-component="typography">
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>
</div>
</div>
</div>
</div>
<div class="o-grid">
<div class="o-grid-4@md">
@card([
'collapsible' => true,
'heading' => 'TEST',
'content' => 'Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.',
'image' => ['src' => 'https://www.w3schools.com/w3css/img_lights.jpg', 'alt' => 'ALT'],
'classList' => [
'c-card--highlight'
]
])
@endcard
</div>
</div>
Accent
Gives the card a more plain styling with accent colors
Heading
SubHeading
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
Heading
SubHeading
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
<div class="o-grid">
<div class="o-grid-4@md">
<!-- card.blade.php -->
<div class="c-card c-card--accented c-card--ratio-16-9" data-component="card">
<div class="c-card__paint-container">
<div class="c-card__header" data-component="card__header">
<!-- typography.blade.php original: p -->
<p class="c-typography c-typography__variant--h2" data-component="typography">
Heading
</p><!-- typography.blade.php original: p -->
<p class="c-typography c-typography__variant--h4" data-component="typography">
SubHeading
</p>
</div>
<div class="c-card__image-container" data-component="card__image">
<!-- image.blade.php -->
<figure class="c-image c-card__image c-image--type-1&ixid=eyjhchbfawqiojeymdd9&w=500&q=80 c-image--cover" data-component="image">
<div class="c-image__image-wrapper">
<img class="c-image__image" src="https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&w=500&q=80" alt="Card illustration"
loading="lazy" />
</div>
</figure>
</div>
<div class="c-card__body" data-component="card__body">
<!-- typography.blade.php original: p -->
<p class="c-typography c-typography__variant--p" data-component="typography">
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>
</div>
</div>
<div class="o-grid-4@md">
<!-- card.blade.php -->
<div class="c-card c-card--accented c-card--ratio-16-9" data-component="card">
<div class="c-card__paint-container">
<div class="c-card__header" data-component="card__header">
<!-- typography.blade.php original: p -->
<p class="c-typography c-typography__variant--h2" data-component="typography">
Heading
</p><!-- typography.blade.php original: p -->
<p class="c-typography c-typography__variant--h4" data-component="typography">
SubHeading
</p>
</div>
<div class="c-card__body" data-component="card__body">
<!-- typography.blade.php original: p -->
<p class="c-typography c-typography__variant--p" data-component="typography">
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>
</div>
</div>
</div>
<div class="o-grid">
<div class="o-grid-4@md">
@card([
'classList' => [
'c-card--accented'
]
])
@card__header()
@typography([
'variant' => 'h2'
])
Heading
@endtypography
@typography([
'variant' => 'h4'
])
SubHeading
@endtypography
@endcard__header
@card__image()
@image([
'src' => 'https://images.unsplash.com/photo-1503023345310-bd7c1de61c7d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&w=500&q=80',
'alt' => 'Card illustration',
'cover' => true,
'classList' => [
'c-card__image'
]
])
@endimage
@endcard__image
@card__body()
@typography([
'variant' => 'p'
])
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
@endtypography
@endcard__body
@endcard
</div>
<div class="o-grid-4@md">
@card([
'classList' => [
'c-card--accented'
]
])
@card__header()
@typography([
'variant' => 'h2'
])
Heading
@endtypography
@typography([
'variant' => 'h4'
])
SubHeading
@endtypography
@endcard__header
@card__body()
@typography([
'variant' => 'p'
])
Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.
@endtypography
@endcard__body
@endcard
</div>
</div>
<div class="o-grid">
<div class="o-grid-4@md">
<!-- card.blade.php -->
<a class="c-card c-card--flat c-card--has-image c-card--action c-card--ratio-16-9" href="https://getmunicipio.com" aria-label="Flat UI Cards - Atoms are the fundemental building blocks."
data-component="card">
<div class="c-card__paint-container">
<div class="c-card__image-container" data-component="card__image">
<!-- image.blade.php -->
<figure class="c-image c-card__image c-image--type-jpg c-image--cover" data-component="image">
<div class="c-image__image-wrapper">
<img class="c-image__image" src="https://www.w3schools.com/w3css/img_lights.jpg" alt="ALT" loading="lazy" />
</div>
</figure>
</div>
<div class="c-card__body" data-component="card__body">
<!-- group.blade.php -->
<div class="c-group c-card__heading-container c-group--horizontal c-group--justify-content-space-between c-group--align-items-center" data-component="group">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-component="group">
<!-- typography.blade.php original: h2 -->
<h2 class="c-typography c-card__heading u-margin__y--0 c-typography__variant--h3" data-component="typography">
Flat UI Cards
</h2>
</div>
</div><!-- typography.blade.php original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-component="typography">
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></a>
</div>
<div class="o-grid-12@md">
<!-- card.blade.php -->
<a class="c-card c-card--flat c-card--has-image c-card--action c-card--ratio-16-9" href="https://getmunicipio.com" aria-label="Flat UI Cards - Atoms are the fundemental building blocks."
data-component="card">
<div class="c-card__paint-container">
<div class="c-card__image-container" data-component="card__image">
<!-- image.blade.php -->
<figure class="c-image c-card__image c-image--type-jpg c-image--cover" data-component="image">
<div class="c-image__image-wrapper">
<img class="c-image__image" src="https://www.w3schools.com/w3css/img_lights.jpg" alt="ALT" loading="lazy" />
</div>
</figure>
</div>
<div class="c-card__body" data-component="card__body">
<!-- group.blade.php -->
<div class="c-group c-card__heading-container c-group--horizontal c-group--justify-content-space-between c-group--align-items-center" data-component="group">
<!-- group.blade.php -->
<div class="c-group c-group--vertical" data-component="group">
<!-- typography.blade.php original: h2 -->
<h2 class="c-typography c-card__heading u-margin__y--0 c-typography__variant--h3" data-component="typography">
Flat UI Cards
</h2>
</div>
</div><!-- typography.blade.php original: p -->
<p class="c-typography c-card__content c-typography__variant--p" data-component="typography">
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></a>
</div>
</div>
<div class="o-grid">
<div class="o-grid-4@md">
@card([
'heading' => 'Flat UI Cards',
'content' => 'Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.',
'image' => ['src' => 'https://www.w3schools.com/w3css/img_lights.jpg', 'alt' => 'ALT'],
'classList' => [
'c-card--flat'
],
'link' => "https://getmunicipio.com"
])
@endcard
</div>
<div class="o-grid-12@md">
@card([
'heading' => 'Flat UI Cards',
'content' => 'Atoms are the fundemental building blocks. They are rarely used just by them self but mostly used to build more advanced components.',
'image' => ['src' => 'https://www.w3schools.com/w3css/img_lights.jpg', 'alt' => 'ALT'],
'classList' => [
'c-card--flat'
],
'link' => "https://getmunicipio.com"
])
@endcard
</div>
</div>