<ul class="usa-card-group">
    <li class="usa-card usa-card--flag tablet:grid-col-6">
        <div class="usa-card__container">
            <header class="usa-card__header">
                <h2 class="usa-card__heading">Default flag</h2>
            </header>
            <div class="usa-card__media">
                <div class="usa-card__img">
                    <img src="https://images.unsplash.com/photo-1579800070193-abe62433f737?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=610&fit=max&ixid=eyJhcHBfaWQiOjE0NTg5fQ" alt="A placeholder image">
                </div>
            </div>
            <div class="usa-card__body">
                <p>Lorem ipsum dolor sit amet consectetur adipisicing elit.</p>
            </div>
            <div class="usa-card__footer">
                <button class="usa-button">Visit Florida Keys</button>
            </div>
        </div>
    </li>
    <li class="usa-card usa-card--flag usa-card--media-right tablet:grid-col-6">
        <div class="usa-card__container">
            <header class="usa-card__header">
                <h2 class="usa-card__heading">Flag media right inset</h2>
            </header>
            <div class="usa-card__media usa-card__media--inset">
                <div class="usa-card__img">
                    <img src="https://images.unsplash.com/photo-1579800070193-abe62433f737?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=610&fit=max&ixid=eyJhcHBfaWQiOjE0NTg5fQ" alt="A placeholder image">
                </div>
            </div>
            <div class="usa-card__body">
                <p>Nemo illo et error deserunt qui doloremque provident perferendis fuga pariatur eum?</p>
            </div>
            <div class="usa-card__footer">
                <button class="usa-button">Visit Florida Keys</button>
            </div>
        </div>
    </li>
</ul>

There are no notes for this item.

<ul class="usa-card-group">
  {%- for card in cards -%}
  <li class="usa-card {{ card.classes }}">
    {% include "@card--basic" %}
  </li>
  {%- endfor -%}
</ul>
package:
  name: uswds
  version: 2.7.0
uswds:
  path: ../../dist
cards:
  - title: Default flag
    classes: 'usa-card--flag tablet:grid-col-6'
    media: true
    media_classes: ''
    image_classes: ''
    content:
      - Lorem ipsum dolor sit amet consectetur adipisicing elit.
  - title: Flag media right inset
    classes: 'usa-card--flag usa-card--media-right tablet:grid-col-6'
    media: true
    media_classes: usa-card__media--inset
    image_classes: ''
    content:
      - >-
        Nemo illo et error deserunt qui doloremque provident perferendis fuga
        pariatur eum?