Buttons are designed to be placed in a center-aligned row using browser defaults and to have different levels of impact. There are four different types of button, but they all use the same base code.

EXAMPLE

Social Buttons

HTML

<div>
  <button class="button impact">Impact button</button>
  <button class="button ghost">Ghost button</button>
  <button class="button promo">Promo button</button>
  <button class="button">Text button</button>
  <button class="button social facebook">Sign in with Facebook</button>
  <button class="button social google">Sign in with Google</button>
  <button class="button social apple">Sign in with Apple</button>
</div>

RULES

Property Value
Typeface Noto Sans
Weight 600
Size 1rem (16px)
Border 1 pixel solid #4a4a4a with a 2-pixel radius
Case Uppercase

SELECT

Custom selects use a combination of the expander molecule and link-based buttons instead of the native select element for forms. Because they are based on the expander, a toggle of the open class will show and remove the option list. Lastly, adding the class selected to any of options will make it bold. Different use cases will most likely require different javascript, but we have a starter script for the purposes of this demo.

EXAMPLE

HTML

<div class="select">
  <span class="button big expander" onclick="this.classList.toggle('open');">Order by</span>
  <div class="options">
    <a class="button big" href="#" data-name="Relevance">Relevance</a>
    <a class="button big" href="#" data-name="Newest">Newest</a>
    <a class="button big" href="#" data-name="Oldest">Oldest</a>
  </div>
</div>
CARDS

author-card

Author information at the bottom of articles

big-news

Goes on the top of the homepage during large news events.

correction

A correction disclaimer for the top of a story.

digest

Headline stacks for section content.

flag

The top banner of the sites including the search panel and account popout

flex-columns

A flexbox version of the grid using the same rules.

footer

Standard footer for the bottom of all pages

form (DSP)

DSP form layout

gallery

Photo gallery to be used in all occasions.

grid

A very basic starter grid

header

An expanded package for article headers.

immersive

Immersive card to match the layout option.

in-depth

In depth module for section pages

inline-cta

Inline call to action for story display.

menu

Side menu panel tied to the hamburger.

modal

Simple overlay containers to maintain consistency.

paywall (DSP)

DSP paywall offer card

read-next

The custom read next card under story bodies.

related-stories

Display for stories related in CUE.

review-order (DSP)

DSP review-order card

section-nav

Top navigation for section fronts where applied in CUE

series-nav

Series nav for article pages.

sponsor

Grant/Sponsorship card for article pages.

swg-promo

Promo card for story and section pages

timeline

Used in live updates and for static timelines.

transparency

Provides story background information.

upper-nav

Top tab navigation used in niche verticals.

vendor-flag

A basic flag that can be used on 3rd-party sites in an iframe.

vendor-footer

A basic footer that can be used on 3rd-party sites in an iframe.

DECKS

author bio

A sample of the author bio page.

contests

An alternative grid and card arrangement for contests.

eEdition

A portal page with recent eEditions.

gallery

A CSS Grid version using the experimental rail code.

homepage

A sample homepage.

immersive

A sample story page.

Impact 2020

Priority vertical product page.

my account (DSP)

A sample account profile page.

paywall (DSP)

A sample paywall overlay page.

purchase flow (DSP)

A sample purchase flow sign up page.

search

Search results page.

section

A sample section page.

story

A sample story page.

subscription offers page (DSP)

DSP subscription offers page

topic

The topic layout.