Skip to content
Honor Society®Brand system

v0.15.1

Content blocks

Facts

The key facts of one item in a bordered panel, with its one primary action and an optional note.

Block
.hs-facts
CSS
components/facts.css (in /brand.css)
JS
None
Status
Decided
Markdown
/components/facts.md

What it is

A plain bordered panel: an optional title, a list of three to six facts (label over value, between hairlines), an optional one-sentence message, one primary button and an optional small note. The first fact can carry a large value. It is the aside of the Detail layout.

When to use

  • The aside of a scholarship, benefit or university page: amount, offered by, deadline, membership needed, how to redeem, location.

When not to use

  • Facts inside a navy award hero: the Award hero has its own facts.
  • A member's credential: use the Credential.
  • Two to three headline figures in a band: use the Stat.

Rules

  • Markup: div.hs-facts > optional h2.hs-facts__title, dl.hs-facts__list > div.hs-facts__item > dt + dd, then an optional p.hs-facts__message, div.hs-facts__action and an optional p.hs-facts__note.
  • Leave out the title when the page names the panel elsewhere: the aside then takes aria-label="Key facts". A benefit page has no title.
  • p.hs-facts__message states where the viewer stands in one sentence, with the tier names in strong. A tier the viewer does not hold links to its tier page (/gold); the viewer's own tier stays plain text.
  • Three to six facts. Skip a fact with no data; never print an empty value or a guess.
  • The amount or the discount goes first, with .hs-facts__item--value. Only when it comes from data.
  • A dd may hold a Status, a Tier badge or one plain link.
  • One action: a.hs-button.hs-button--block, gold by default. Use navy (a.hs-button.hs-button--navy.hs-button--block) only when a gold element already sits in the same viewport inside the page content. The site header's Join button is chrome and does not count. The label is verb + noun ("Apply on examplefoundation.org", "Get the code", "See tiers"). No arrows.
  • An action that leaves the site gets rel="noopener" and the note "You leave honorsociety.org." in .hs-facts__note.
  • A benefit above the viewer's tier: the membership fact shows a --locked status with the tier name, the message names the tier needed and the viewer's tier, and the action is the upgrade or join route for that tier.
  • Dates are <time datetime> from the one stored value.

Accessibility

  • dl, dt, dd pair each label with its value for a screen reader.
  • The title names the aside landmark (aria-labelledby on the aside). Without a title, the aside takes aria-label="Key facts".
  • Label slate 6.2:1, value ink 13.0:1, large value navy 12.4:1, message ink 13.0:1, note slate 6.2:1 on white.
  • A link in the message keeps an underline and weight 500, so it does not hang on colour alone.
  • The button is 48px tall and fills the panel.

Variants

Scholarship, external

A directory scholarship that is applied for on the provider's site.

Preview on white

Key facts

Amount
$1,000
Offered by
examplefoundation.org
Who it’s for
Graduate students

You leave honorsociety.org.

<div class="hs-facts">
  <h2 class="hs-facts__title">Key facts</h2>
  <dl class="hs-facts__list">
    <div class="hs-facts__item hs-facts__item--value"><dt>Amount</dt><dd>$1,000</dd></div>
    <div class="hs-facts__item"><dt>Offered by</dt><dd>examplefoundation.org</dd></div>
    <div class="hs-facts__item"><dt>Who it&rsquo;s for</dt><dd>Graduate students</dd></div>
  </dl>
  <div class="hs-facts__action">
    <a class="hs-button hs-button--block" href="https://examplefoundation.org/apply" rel="noopener" data-ph-capture-attribute-cta="apply-external" data-ph-capture-attribute-cta-loc="detail">Apply on examplefoundation.org</a>
  </div>
  <p class="hs-facts__note">You leave honorsociety.org.</p>
</div>

Benefit, ready to use

The redeem area of a benefit the viewer can use now.

Preview on white

Key facts

Value
20% off
Category
Test prep
Membership needed
Ready to use
How to redeem
Enter the code at checkout on the partner site.
<div class="hs-facts">
  <h2 class="hs-facts__title">Key facts</h2>
  <dl class="hs-facts__list">
    <div class="hs-facts__item hs-facts__item--value"><dt>Value</dt><dd>20% off</dd></div>
    <div class="hs-facts__item"><dt>Category</dt><dd>Test prep</dd></div>
    <div class="hs-facts__item"><dt>Membership needed</dt><dd><span class="hs-status hs-status--ready">Ready to use</span></dd></div>
    <div class="hs-facts__item"><dt>How to redeem</dt><dd>Enter the code at checkout on the partner site.</dd></div>
  </dl>
  <div class="hs-facts__action">
    <a class="hs-button hs-button--block" href="/benefits/example-learning-co/redeem" data-ph-capture-attribute-cta="redeem" data-ph-capture-attribute-cta-loc="detail">Get the code</a>
  </div>
</div>

Benefit, locked

A benefit above the viewer's tier, seen by a Bronze member. No title: the aside carries the name. The tier needed links to its tier page; the viewer's own tier stays plain.

Preview on white

Value
$50 off
Category
Travel
Membership needed
Gold
How to redeem
Redeem on this page. We show the details and email them to you.

Available on Gold. You have Bronze.

<div class="hs-facts">
  <dl class="hs-facts__list">
    <div class="hs-facts__item hs-facts__item--value"><dt>Value</dt><dd>$50 off</dd></div>
    <div class="hs-facts__item"><dt>Category</dt><dd>Travel</dd></div>
    <div class="hs-facts__item"><dt>Membership needed</dt><dd><span class="hs-status hs-status--locked">Gold</span></dd></div>
    <div class="hs-facts__item"><dt>How to redeem</dt><dd>Redeem on this page. We show the details and email them to you.</dd></div>
  </dl>
  <p class="hs-facts__message">Available on <strong><a href="/gold" data-ph-capture-attribute-cta="tier-gold" data-ph-capture-attribute-cta-loc="benefit-status">Gold</a></strong>. You have <strong>Bronze</strong>.</p>
  <div class="hs-facts__action">
    <a class="hs-button hs-button--block" href="/member/upgrade?tier=gold" data-ph-capture-attribute-cta="upsell-gold" data-ph-capture-attribute-cta-loc="benefit-detail">Upgrade to Gold</a>
  </div>
</div>