Walgreens Corner Logo

Desktop, Tablet & MobileHero Module

  • <nav aria-label="breadcrumb"><div class="page__tier">
      <div class="hero hero__dark-bg">
        <div class="hero__wrapper" style="background-image: url('')">
          <div class="contain">
            <div class="page__header">
              <ul class="nav__bread-crumbs nav__bread-crumbs-white">
                <li><a href="/">Home</a></li>
                <li><a href="/">Shop</a></li>
                <li><a href="/">Beauty</a></li>
              </ul></nav>
              <h1 class="h1__page-title"></strong>Cosmetics</strong></h1>
            </div>
          </div>
        </div>
      </div>

      <div class="hero__cta">
        <div class="wag-row">
          <a href="#!" class="wag-col-6 wag-col-sm-12">
            <span><strong>Buy 2 get 3rd FREE skin care**</strong></span>
          <a>

          <a href="#!" class="wag-col-6 wag-col-sm-12">
            <span><strong>Buy 2 get 3rd FREE skin care**</strong></span>
          <a>
        </div>
      </div>
    </div>

Desktop, Tablet & MobileHero Module

  • <nav aria-label="breadcrumb"><div class="page__tier">
      <div class="hero hero__dark-bg">
        <div class="hero__wrapper" style="background-image: url('')">
          <div class="contain">
            <div class="page__header">
              <ul class="nav__bread-crumbs nav__bread-crumbs-white">
                <li><a href="/">Home</a></li>
                <li><a href="/">Shop</a></li>
                <li><a href="/">Beauty</a></li>
              </ul></nav>
              <h1 class="h1__page-title"></strong>Cosmetics</strong></h1>
            </div>
          </div>
        </div>
      </div>

      <div class="hero__cta">
        <div class="wag-row">
          <a href="#!" class="wag-col-6 wag-col-sm-12">
            <span><strong>Buy 2 get 3rd FREE skin care**</strong></span>
          <a>

          <a href="#!" class="wag-col-6 wag-col-sm-12">
            <span><strong>Buy 2 get 3rd FREE skin care**</strong></span>
          <a>
        </div>
      </div>
    </div>

Desktop, Tablet & MobileProduct List

  • <div class="page__tier">
      <div class="hero hero__dark-bg">
        <div class="hero__wrapper" style="background-image: url('')">
          <div class="contain">
            <div class="page__header">
              <nav aria-label="breadcrumb"><ul class="nav__bread-crumbs nav__bread-crumbs-white">
                <li><a href="/">Home</a></li>
                <li><a href="/">Shop</a></li>
                <li><a href="/">Beauty</a></li>
              </ul></nav>
              <h1 class="h1__page-title"></strong>Cosmetics</strong></h1>
            </div>
          </div>
        </div>
      </div>

      <div class="hero__cta">
        <div class="wag-row">
          <a href="#!" class="wag-col-6 wag-col-sm-12">
            <span><strong>Buy 2 get 3rd FREE skin care**</strong></span>
          <a>

          <a href="#!" class="wag-col-6 wag-col-sm-12">
            <span><strong>Buy 2 get 3rd FREE skin care**</strong></span>
          <a>
        </div>
      </div>
    </div>

Desktop, Tablet & MobileForm Fields

HTML forms are used to collect user input and pass data along to a server. By default all text fields are required; optional text fields should include “(Optional)” text after the form label. Good structure clearly leads the user through each element and illuminates a path to completion, and form field widths should attempt to match the intended input length. Designers should stack form fields and may use two widths: 100% or 50% of the column span. It is up to the designer’s discretion to determine which style is best based on page context and spatial limitations.

  • <form class="form__on-light-bg">

      // Full width input
      <div class="form__input">
        <span class="input__contain">
          <input type="text" name="text" id="field-label" required>
          <label class="input__title" for="field-label">Field label</label>
        </span>
      </div>

      // 50% width input and not required
      <div class="form__input input__fifty-fifty">
        <span class="input__contain">
          <input type="text" id="dob" name="date" aria-label="please enter date of birth in 2 digits for month 2 digits for days 4 digits for year" placeholder="MM/DD/YYYY" maxlength="10" required>
          <label class="input__title" for="dob">Date of Birth</label>
        </span>
      </div>

    </form>
  • <form class="form__on-dark-bg">

      // Full width input
      <div class="form__input">
        <span class="input__contain">
          <input type="text" name="text" id="field-label" required>
          <label class="input__title" for="field-label">Field label</label>
        </span>
      </div>

      // 50% width input and not required
      <div class="form__input input__fifty-fifty">
        <span class="input__contain">
          <input type="text" id="dob" name="date" aria-label="please enter date of birth in 2 digits for month 2 digits for days 4 digits for year" placeholder="MM/DD/YYYY" maxlength="10" required>
          <label class="input__title" for="dob">Date of Birth</label>
        </span>
      </div>

    </form>

Desktop, Tablet & MobileForm Field: Credit Card

Credit card form fields are used to collect the users purchase information. This is special styling that differs from the other form field in the sense of displying the experation date inline to simplify.

  • Defalt Credit Card form
    <form class="form__credit-card form__on-light-bg">

      // Full width input
      <span class="input__contain">
        <input type="number" name="card-number" id="card-number" required>
        <label class="input__title" for="card-number">Field label</label>
        <span class="credit-card__img"><img src="/themes/images/credit-cards/visa.png"></span>
      </span>

      // Expiration inputs
      <div class="card__exp">
        <span class="input__contain input__fifty-fifty">
          <input type="number" name="date-card" id="card-exp-date" placeholder="MM/YY" maxlength="5" required>
          <label class="input__title" for="card-exp-date">Exp<span class="hide-on-mobile">iration</span>date</label>
        </span>
      </div>

    </form>


  • If a ZIP Code is needed with payment
    <form class="form__credit-card form__on-dark-bg">

      // Full width input
      <span class="input__contain">
        <input type="number" name="card-number" id="card-number" required>
        <label class="input__title" for="card-number">Field label</label>
        <span class="credit-card__img"><img src="/themes/images/credit-cards/visa.png"></span>
      </span>

      // Expiration inputs
      <div class="card__exp">
        <span class="input__contain input__fifty-fifty">
          <input type="number" name="date-card" id="card-exp-month" placeholder="MM/YY" maxlength="5" required>
          <label class="input__title" for="card-exp-month">Expiration Month</label>
        </span>

        <span class="input__contain input__fifty-fifty">
          <input type="number" name="card-zip-code" id="card-zip-code" placeholder="12345" maxlength="5" required>
          <label class="input__title" for="card-zip-code">ZIP Code</label>
        </span>
      </div>

    </form>

Desktop, Tablet & MobileForm Fields: Text Area

HTML forms are used to collect user input and pass data along to a server. Good structure leads the user through each element and clearly illuminates a path to completion. It is up to the designer’s discretion to determine which style is best based on page context and spatial limitations.

  • 300 characters remaining
    300 characters remaining
    // For neutral background text areas
    <form class="form__on-light-bg">
      <div class="form__input">
        <span class="input__text-area">
          <label class="input__title" for="textarea">Notes to pharmacy staff</label>
          <textarea type="text" name="text" id="textarea" required="true" placeholder="e.g. Please add bubble gum flavoring to the amoxicillin"></textarea>
          <span class="character-count">300 characters remaining</span>
        </span>
      </div>
    </form>

    // For white background text areas
    <form>
      <div class="form__input">
        <span class="input__text-area">
          <label class="input__title" for="textarea">Notes to pharmacy staff</label>
          <textarea type="text" name="text" id="textarea" required="true" placeholder="e.g. Please add bubble gum flavoring to the amoxicillin"></textarea>
          <span class="character-count">300 characters remaining</span>
        </span>
      </div>
    </form>

Desktop, Tablet & MobileForms: Success & Errors

  • Please enter you doctor's first name using only letters A-Z.
    <form class="form__on-light-bg">

      <div class="form__input">
        <span class="input__contain input__success">
          <input type="text" name="text" id="field-label" id="input-1" placeholder="Lorem Ipsum" required>
          <label class="input__title" for="input-1">Field label</label>
        </span>
        <span class="input__error-text" role="alert" aria-live="assertive">
          <span class="icon icon__alert"><svg><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__alert"></use></svg></span>
          <span>Error text goes here</span>
        </span>
      </div>

    </form>
  • Lorem ipsum dolor sed do tempor ur labore.
    <form class="form__on-light-bg">

      <div class="form__input">
        <span class="input__contain input__success">
          <input type="text" name="text" id="field-label" id="input-1" placeholder="Lorem Ipsum" required>
          <label class="input__title" for="input-1">Field label</label>
        </span>
        <span class="input__success-text" role="alert" aria-live="assertive">
          <span class="icon icon__check"><svg><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__check"></use></svg></span>
          <span>Success text goes here</span>
        </span>
      </div>

    </form>

Desktop, Tablet & MobileQuantity

  • <div class="quantity__buttons">
      <button class="btn btn__neutral btn__rounded btn__disabled qtyminus" aria-label="decrease">
        <span class="icon icon__minus-v2">
          <svg alt="">
            <use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__subtract-v2"></use>
          </svg>
        </span>
      </button>

      <input class="quantity" id="quantity-counter" type="text" name="text" value="1">

      <button class="btn btn__blue btn__rounded qtyplus" aria-label="increase">
        <span class="icon icon__plus-v2">
          <svg alt="">
            <use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__plus-add-v2"></use>
          </svg>
        </span>
      </button>
    </div>
  • <div class="quantity__buttons">
      <button class="btn btn__neutral btn__rounded btn__disabled qtyminus" aria-label="decrease">
        <span class="icon icon__minus-v2">
          <svg alt="">
            <use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__subtract-v2"></use>
          </svg>
        </span>
      </button>

      <input class="quantity" id="quantity-counter" type="text" name="text" value="1">

      <button class="btn btn__blue btn__rounded qtyplus" aria-label="increase">
        <span class="icon icon__plus-v2">
          <svg alt="">
            <use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__plus-add-v2"></use>
          </svg>
        </span>
      </button>
    </div>

Desktop, Tablet & MobileSelect Drop down

Drop Downs are used to present a data set of mutually-exclusive selectable options. Note: Drop Down menus should be built to call the device-native input pickers.

  • <span class="select__contain">
      <label for="select-dropdown">Title select</label>
      <span class="icon icon__arrow-down">
        <svg alt=""><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__arrow-down"></use></svg>
      </span>
      <select id="select-dropdown" aria-label="Sort by drop-down list, press SPACE BAR to open available options in the list, page will reload">
        <option>Select list item</option>
        <option>Add more list items</option>
      </select>
    </span>
  • <span class="select__contain white">
      <label for="select-dropdown">Title select</label>
      <span class="icon icon__arrow-down">
        <svg alt=""><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__arrow-down"></use></svg>
      </span>
      <select id="select-dropdown" aria-label="Sort by drop-down list, press SPACE BAR to open available options in the list, page will reload">
        <option>Select list item</option>
        <option>Add more list items</option>
      </select>
    </span>
  • When no title appears and is only used for screenreaders

    <span class="select__contain">
      <label for="select-dropdown" class="sr-only">Title select</label>
      <span class="icon icon__arrow-down">
        <svg alt=""><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__arrow-down"></use></svg>
      </span>
      <select id="select-dropdown" class="no-title" aria-label="Sort by drop-down list, press SPACE BAR to open available options in the list, page will reload">
        <option>Select list item</option>
        <option>Add more list items</option>
      </select>
    </span>
  • <span class="select__contain white">
      <label for="select-dropdown" class="sr-only">Title select</label>
      <span class="icon icon__arrow-down">
        <svg alt=""><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__arrow-down"></use></svg>
      </span>
      <select id="select-dropdown" class="no-title" aria-label="Sort by drop-down list, press SPACE BAR to open available options in the list, page will reload">
        <option>Select list item</option>
        <option>Add more list items</option>
      </select>
    </span>

Desktop, Tablet & MobileForm with Attached Button

Where possible form fields are connected to buttons, which creates a cohesive design lockup and removes any confusion on what the next step is for users.

  • <form class="form__on-light-bg">
      <div class="form__input">
        <span class="input__contain input__btn-attached">
          <input type="text" name="text" id="input-1" required>
          <label class="input__title" for="input-1">Field label</label>
          <button class="btn btn__blue">Action</button>
        </span>
      </div>
    </form>

Calendar

A Form Field with Background Shape is suitable when more hierarchical weight is needed for a form field, such as an important search field.

  • // Date Picker All Dates
    <div class="input__contain input__date-picker input__fifty-fifty">
      <input type="text" aria-label="date-picker" id="datepicker" placeholder="Choose date" data-past="true">
    </div>

    // Date Picker - No Previous Dates
    <div class="input__contain input__date-picker input__fifty-fifty">
      <type="text" aria-label="date-picker" id="datepicker0" placeholder="Choose date" data-has-date-picker="true" data-past="false" data-future="true">
    </div>

    // Date Picker - No future dates
    <div class="input__contain input__date-picker input__fifty-fifty">
      <input type="text" aria-label="date-picker" id="datepicker" placeholder="Choose date" data-has-date-picker="true" data-future="false" data-past="true">
    </div>

    // Date Picker - Current Date only
    <div class="input__contain input__date-picker input__fifty-fifty">
      <input type="text" aria-label="date-picker" id="datepicker" placeholder="Choose date" data-has-date-picker="true" data-future="false" data-past="false">
    </div>

Inline calendar

For use when there is the need for a larger visual element on the page than the dropdown date selector. This eliminates the need for the user to click into the calendar and puts the interaction tools right at their fingertips within the page.

  • <div id="datepicker-inline"></div>

Global Alerts

Alert and error messages are used to provide feedback to the user. Messaging Boxes should be used for server-side validation errors. Inline alerts should be used for simple system alerts or form. The dismiss button on the right side of the alerts are optional.

  • <div class="alert alert__blue">
      <a href="#!" class="alert__text-contain">
        <span class="icon icon__alert">
          <svg alt=""><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__alert"></use></svg>
        </span>

        <span>
          <p>
            Information alert.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis et tortor.<span class="cta_inside_alert">Refill now</span>
          </p>
        </span>
      </a>
      <button class="btn btn__rounded action__dismiss-alert"></button>
    </div>
  • <div class="alert alert__green">
      <a href="#!" class="alert__text-contain">
        <span class="icon icon__check">
         <svg alt=""><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__check"></use></svg>
        </span>

        <span>
          <p>
            Success alert. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis et tortor.<span class="cta_inside_alert">Refill now</span>
          </p>
        </span>
      </a>

      <button class="btn btn__rounded action__dismiss-alert"></button>
    </div>
  • <div class="alert alert__red">
      <a href="#!" class="alert__text-contain">
        <span class="icon icon__alert">
          <svg alt=""><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__alert"></use></svg>
        </span>

        <span>
          <p>
            Information alert.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis et tortor.<span class="cta_inside_alert">Refill now</span>
          </p>
        </span>
      </a>
      <button class="btn btn__rounded action__dismiss-alert"></button>
    </div>
  • <div class="alert alert__yellow">
      <a href="#!" class="alert__text-contain">
        <span class="icon icon__alert">
          <svg alt=""><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__alert"></use></svg>
        </span>

        <span>
          <p>
            Information alert.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis et tortor.<span class="cta_inside_alert">Refill now</span>
          </p>
        </span>
      </a>
      <button class="btn btn__rounded action__dismiss-alert"></button>
    </div>

Minimal Alerts

Minimal alert and error messages are used to provide more discreet feedback to the user.

  • Inline error message.

    <div class="alert alert__red minimal">
      <span class="alert__text-contain">
        <span class="icon icon__alert">
         <svg alt=""><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__alert"></use></svg>
        </span>

        <span>
          <p>
            Error alert. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis et tortor.
          </p>
        </span>
      </span>
  • Inline warning message.

    <div class="alert alert__yellow minimal">
      <span class="alert__text-contain">
        <span class="icon icon__alert">
         <svg alt=""><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__alert"></use></svg>
        </span>

        <span>
          <p>
            Error alert. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis et tortor.
          </p>
        </span>
      </span>
  • Inline success message.

    <div class="alert alert__green minimal">
      <span class="alert__text-contain">
        <span class="icon icon__check">
         <svg alt=""><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__check"></use></svg>
        </span>

        <span>
          <p>
            Error alert. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis et tortor.
          </p>
        </span>
      </span>
  • Inline informational message.

    <div class="alert alert__blue minimal">
      <span class="alert__text-contain">
        <span class="icon icon__info">
         <svg alt=""><use xlink:href="/images/adaptive/livestyleguide/walgreens.com/v3.0/themes/images/icons/symbol-defs.svg#icon__info"></use></svg>
        </span>

        <span>
          <p>
            Error alert. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis et tortor.
          </p>
        </span>
      </span>

Desktop, Tablet & MobileCorner Badge

The corner badge is used as visual support that encourages a user to take a specific course of action. Corner badges come in two sizes: small or large. For single line items use the small for double lined items use the large.

    • Sneak peak
    <figure class="badge__corner"><span>Sneak peek</span></figure>
    <figure class="badge__corner"><span>Sneak peek</span></figure>

Desktop, Tablet & MobileCorner Flag

The corner flag is used as visual support that encourages a user to take a specific course of action. Corner flags have a limited amount of characters so text should be lmited to two words and no more than 5 characters per word.

    • Due today

    <figure class="flag__corner"><p>Due today</p></figure>