Stat

Stats are used to prominently display text or number values.

Examples

Base

1
High Utilization
1
Critical Performing
2
Services Down
<div class="chi-stat">
  <div class="chi-stat__item">
    <div class="chi-stat__content">
      <div class="chi-stat-metric">
        <div class="chi-stat-metric__value">1</div>
        <div class="chi-stat-metric__title">High Utilization</div>
      </div>
    </div>
  </div>
  <div class="chi-stat__item">
    <div class="chi-stat__content">
      <div class="chi-stat-metric">
        <div class="chi-stat-metric__value">1</div>
        <div class="chi-stat-metric__title">Critical Performing</div>
      </div>
    </div>
  </div>
  <div class="chi-stat__item -active">
    <div class="chi-stat__content">
      <div class="chi-stat-metric">
        <div class="chi-stat-metric__value">2</div>
        <div class="chi-stat-metric__title">Services Down</div>
      </div>
    </div>
  </div>
  <div class="chi-stat__item">
    <div class="chi-stat__content">
      <div class="chi-stat-metric">
        <div class="chi-stat-metric__value">3</div>
        <div class="chi-stat-metric__title">Scheduled Maintenance</div>
      </div>
    </div>
  </div>
</div>

Center

1
High Utilization
1
Critical Performing
2
Services Down
<div class="chi-stat -center">
  <div class="chi-stat__item -active">
    <div class="chi-stat__content">
      <div class="chi-stat-metric">
        <div class="chi-stat-metric__value">1</div>
        <div class="chi-stat-metric__title">High Utilization</div>
      </div>
    </div>
  </div>
  <div class="chi-stat__item">
    <div class="chi-stat__content">
      <div class="chi-stat-metric">
        <div class="chi-stat-metric__value">1</div>
        <div class="chi-stat-metric__title">Critical Performing</div>
      </div>
    </div>
  </div>
  <div class="chi-stat__item">
    <div class="chi-stat__content">
      <div class="chi-stat-metric">
        <div class="chi-stat-metric__value">2</div>
        <div class="chi-stat-metric__title">Services Down</div>
      </div>
    </div>
  </div>
</div>

Background Icons

1
High Utilization
1
Critical Performing
2
Services Down
<div class="chi-stat">
  <div class="chi-stat__item -active">
    <div class="chi-stat__content">
      <div class="chi-stat-metric">
        <div class="chi-stat-metric__value">1</div>
        <div class="chi-stat-metric__title">High Utilization</div>
      </div>
      <div class="chi-stat-background-icon">
        <i class="chi-icon icon-file" aria-hidden="true"></i>
      </div>
    </div>
  </div>
  <div class="chi-stat__item">
    <div class="chi-stat__content">
      <div class="chi-stat-metric">
        <div class="chi-stat-metric__value">1</div>
        <div class="chi-stat-metric__title">Critical Performing</div>
      </div>
      <div class="chi-stat-background-icon">
        <i class="chi-icon icon-warning" aria-hidden="true"></i>
      </div>
    </div>
  </div>
  <div class="chi-stat__item">
    <div class="chi-stat__content">
      <div class="chi-stat-metric">
        <div class="chi-stat-metric__value">2</div>
        <div class="chi-stat-metric__title">Services Down</div>
      </div>
      <div class="chi-stat-background-icon">
        <i class="chi-icon icon-map-marker" aria-hidden="true"></i>
      </div>
    </div>
  </div>
</div>

Stat with Carousel

<chi-carousel>
  <div class="chi-stat -center" slot="items">
    <a class="chi-stat__item -active" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__value">ALL</div>
          <div class="chi-stat-metric__title">Services</div>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__value">366</div>
          <div class="chi-stat-metric__title">Communications</div>
        </div>
        <div class="chi-label__help">
          <button class="chi-button -icon -xs -flat" id="example__portal-base-help-button2" aria-label="Help" data-target="#example__portal-base-help-popover2" data-position="bottom">
            <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
          </button>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__value">932</div>
          <div class="chi-stat-metric__title">Hybrid & Cloud IT</div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">0</div>
          <div class="chi-stat-submetric__title">Recently Closed</div>
        </div>
        <div class="chi-label__help">
          <button class="chi-button -icon -xs -flat" id="example__portal-base-help-button3" aria-label="Help" data-target="#example__portal-base-help-popover3" data-position="bottom">
            <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
          </button>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__value">301</div>
          <div class="chi-stat-metric__title">Managed & IT Services</div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">6</div>
          <div class="chi-stat-submetric__title">Recently Closed</div>
        </div>
        <div class="chi-label__help">
          <button class="chi-button -icon -xs -flat" id="example__portal-base-help-button4" aria-label="Help" data-target="#example__portal-base-help-popover4" data-position="bottom">
            <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
          </button>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__value">100</div>
          <div class="chi-stat-metric__title">Networking & Cloud IT</div>
        </div>
        <div class="chi-label__help">
          <button class="chi-button -icon -xs -flat" id="example__portal-base-help-button5" aria-label="Help" data-target="#example__portal-base-help-popover5" data-position="bottom">
            <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
          </button>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__value">2</div>
          <div class="chi-stat-metric__title">Security</div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">0</div>
          <div class="chi-stat-submetric__title">Recently Closed</div>
        </div>
        <div class="chi-label__help">
          <button class="chi-button -icon -xs -flat" id="example__portal-base-help-button6" aria-label="Help" data-target="#example__portal-base-help-popover6" data-position="bottom">
            <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
          </button>
        </div>
      </div>
    </a>
  </div>
</chi-carousel>
<section class="chi-popover chi-popover--bottom" id="example__portal-base-help-popover2" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>
<section class="chi-popover chi-popover--bottom" id="example__portal-base-help-popover3" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>
<section class="chi-popover chi-popover--bottom" id="example__portal-base-help-popover4" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>
<section class="chi-popover chi-popover--bottom" id="example__portal-base-help-popover5" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>
<section class="chi-popover chi-popover--bottom" id="example__portal-base-help-popover6" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>

<script>
  chi.popover(document.getElementById('example__portal-base-help-button2'));
  chi.popover(document.getElementById('example__portal-base-help-button3'));
  chi.popover(document.getElementById('example__portal-base-help-button4'));
  chi.popover(document.getElementById('example__portal-base-help-button5'));
  chi.popover(document.getElementById('example__portal-base-help-button6'));
</script>

Stat with Background Icons and Carousel

<chi-carousel>
  <div class="chi-stat -center" slot="items">
    <a class="chi-stat__item -active" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__value">ALL</div>
          <div class="chi-stat-metric__title">Services</div>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__value">366</div>
          <div class="chi-stat-metric__title">Communications</div>
        </div>
        <div class="chi-stat-background-icon">
          <chi-marketing-icon icon="platform-voice-unified-communications" variant="outline"></chi-marketing-icon>
        </div>
        <div class="chi-label__help">
          <button class="chi-button -icon -xs -flat" id="example__portal-bgicons-help-button2" aria-label="Help" data-target="#example__portal-bgicons-help-popover2" data-position="bottom">
            <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
          </button>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__value">932</div>
          <div class="chi-stat-metric__title">Hybrid & Cloud IT</div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">0</div>
          <div class="chi-stat-submetric__title">Recently Closed</div>
        </div>
        <div class="chi-stat-background-icon">
          <chi-marketing-icon icon="platform-it-agility-hybrid-cloud" variant="outline"></chi-marketing-icon>
        </div>
        <div class="chi-label__help">
          <button class="chi-button -icon -xs -flat" id="example__portal-bgicons-help-button3" aria-label="Help" data-target="#example__portal-bgicons-help-popover3" data-position="bottom">
            <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
          </button>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__value">301</div>
          <div class="chi-stat-metric__title">Managed & IT Services</div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">6</div>
          <div class="chi-stat-submetric__title">Recently Closed</div>
        </div>
        <div class="chi-stat-background-icon">
          <chi-marketing-icon icon="business-support-ticket" variant="outline"></chi-marketing-icon>
        </div>
        <div class="chi-label__help">
          <button class="chi-button -icon -xs -flat" id="example__portal-bgicons-help-button4" aria-label="Help" data-target="#example__portal-bgicons-help-popover4" data-position="bottom">
            <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
          </button>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__value">100</div>
          <div class="chi-stat-metric__title">Networking & Cloud IT</div>
        </div>
        <div class="chi-stat-background-icon">
          <chi-marketing-icon icon="platform-adaptive-networking" variant="outline"></chi-marketing-icon>
        </div>
        <div class="chi-label__help">
          <button class="chi-button -icon -xs -flat" id="example__portal-bgicons-help-button5" aria-label="Help" data-target="#example__portal-bgicons-help-popover5" data-position="bottom">
            <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
          </button>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__value">2</div>
          <div class="chi-stat-metric__title">Security</div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">0</div>
          <div class="chi-stat-submetric__title">Recently Closed</div>
        </div>
        <div class="chi-stat-background-icon">
          <chi-marketing-icon icon="platform-connected-security" variant="outline"></chi-marketing-icon>
        </div>
        <div class="chi-label__help">
          <button class="chi-button -icon -xs -flat" id="example__portal-bgicons-help-button6" aria-label="Help" data-target="#example__portal-bgicons-help-popover6" data-position="bottom">
            <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
          </button>
        </div>
      </div>
    </a>
  </div>
</chi-carousel>
<section class="chi-popover chi-popover--bottom" id="example__portal-bgicons-help-popover2" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>
<section class="chi-popover chi-popover--bottom" id="example__portal-bgicons-help-popover3" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>
<section class="chi-popover chi-popover--bottom" id="example__portal-bgicons-help-popover4" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>
<section class="chi-popover chi-popover--bottom" id="example__portal-bgicons-help-popover5" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>
<section class="chi-popover chi-popover--bottom" id="example__portal-bgicons-help-popover6" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>

<script>
  chi.popover(document.getElementById('example__portal-bgicons-help-button2'));
  chi.popover(document.getElementById('example__portal-bgicons-help-button3'));
  chi.popover(document.getElementById('example__portal-bgicons-help-button4'));
  chi.popover(document.getElementById('example__portal-bgicons-help-button5'));
  chi.popover(document.getElementById('example__portal-bgicons-help-button6'));
</script>

Compact Stat with Carousel

Use -compact when vertical space is limited.

<chi-carousel>
  <div class="chi-stat -compact" slot="items">
    <a class="chi-stat__item -active" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__title">Utilization</div>
          <div class="chi-label__help">
            <button class="chi-button -icon -xs -flat" id="example__portal-help-button" aria-label="Help" data-target="#example__portal-help-popover" data-position="bottom" aria-describedby="example__portal-help-popover">
              <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
            </button>
          </div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">4</div>
          <div class="chi-stat-submetric__title">High</div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">16</div>
          <div class="chi-stat-submetric__title">Elevated</div>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__title">Performance</div>
          <div class="chi-label__help">
            <button class="chi-button -icon -xs -flat" id="example__portal-help-button2" aria-label="Help" data-target="#example__portal-help-popover2" data-position="bottom" aria-describedby="example__portal-help-popover2">
              <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
            </button>
          </div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">0</div>
          <div class="chi-stat-submetric__title">Critical</div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">1</div>
          <div class="chi-stat-submetric__title">Impacted</div>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__title">Status</div>
          <div class="chi-label__help">
            <button class="chi-button -icon -xs -flat" id="example__portal-help-button3" aria-label="Help" data-target="#example__portal-help-popover3" data-position="bottom" aria-describedby="example__portal-help-popover3">
              <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
            </button>
          </div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">12</div>
          <div class="chi-stat-submetric__title">Down</div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">333</div>
          <div class="chi-stat-submetric__title">Up</div>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__title">Threshold Alerts</div>
          <div class="chi-label__help">
            <button class="chi-button -icon -xs -flat" id="example__portal-help-button4" aria-label="Help" data-target="#example__portal-help-popover4" data-position="bottom" aria-describedby="example__portal-help-popover4">
              <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
            </button>
          </div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">0</div>
          <div class="chi-stat-submetric__title">Warnings</div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">0</div>
          <div class="chi-stat-submetric__title">Watches</div>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__title">Repair Tickets</div>
          <div class="chi-label__help">
            <button class="chi-button -icon -xs -flat" id="example__portal-help-button5" aria-label="Help" data-target="#example__portal-help-popover5" data-position="bottom" aria-describedby="example__portal-help-popover5">
              <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
            </button>
          </div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">2</div>
          <div class="chi-stat-submetric__title">Active</div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">1</div>
          <div class="chi-stat-submetric__title">Closed</div>
        </div>
      </div>
    </a>
    <a class="chi-stat__item" href="#">
      <div class="chi-stat__content">
        <div class="chi-stat-metric">
          <div class="chi-stat-metric__title">Sch Maintenance</div>
          <div class="chi-label__help">
            <button class="chi-button -icon -xs -flat" id="example__portal-help-button6" aria-label="Help" data-target="#example__portal-help-popover6" data-position="bottom" aria-describedby="example__portal-help-popover6">
              <i class="chi-icon icon-circle-info-outline" aria-hidden="true"></i>
            </button>
          </div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">2</div>
          <div class="chi-stat-submetric__title">In Progress</div>
        </div>
        <div class="chi-stat-submetric">
          <div class="chi-stat-submetric__value">2</div>
          <div class="chi-stat-submetric__title">Upcoming</div>
        </div>
      </div>
    </a>
  </div>
</chi-carousel>

<section class="chi-popover chi-popover--bottom" id="example__portal-help-popover" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>
<section class="chi-popover chi-popover--bottom" id="example__portal-help-popover2" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>
<section class="chi-popover chi-popover--bottom" id="example__portal-help-popover3" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>
<section class="chi-popover chi-popover--bottom" id="example__portal-help-popover4" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>
<section class="chi-popover chi-popover--bottom" id="example__portal-help-popover5" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>
<section class="chi-popover chi-popover--bottom" id="example__portal-help-popover6" aria-modal="true" role="dialog">
  <div class="chi-popover__content">
    <p class="chi-popover__text">Helpful information goes here.</p>
  </div>
</section>

<script>
  chi.popover(document.getElementById('example__portal-help-button'));
  chi.popover(document.getElementById('example__portal-help-button2'));
  chi.popover(document.getElementById('example__portal-help-button3'));
  chi.popover(document.getElementById('example__portal-help-button4'));
  chi.popover(document.getElementById('example__portal-help-button5'));
  chi.popover(document.getElementById('example__portal-help-button6'));
</script>

Web Component

Properties

Web component coming soon

Accessibility

Accessibility guidelines coming soon