Royal Canin Logo

Working together for the ultimate brand experience

Royal Canin Design Language

Navigation

A Header component is available that must be used on all current and future Royal Canin projects, websites and applications. The Header component will give us consistency throughout all projects and allows for familiarity for users visiting any and or all of the Royal Canin experiences available.

<header class="rc-header" data-js-header-scroll="">
  <nav class="rc-header__nav rc-header__nav--primary">
    <ul class="rc-list rc-list--blank rc-list--inline rc-list--align" role="menubar">
      <li class="rc-list__item">
        <button class="rc-btn rc-btn--icon-label rc-icon rc-menu--xs rc-iconography rc-md-up" data-modal-trigger="main-nav-modal" aria-label="Menu">Menu</button>
        <button class="rc-btn rc-btn--icon rc-icon rc-menu--xs rc-iconography rc-md-down" data-js-trigger="mobile-push-nav" aria-label="Menu">
          <span class="rc-screen-reader-text">Menu</span>
        </button>
      </li>
    </ul>
    <a href="/" class="rc-header__brand">
      <span class="rc-screen-reader-text">Royal Canin Logo</span>
      <object id="header__logo" class="rc-header__logo" type="image/svg+xml" data="https://d3moonnr9fkxfg.cloudfront.net/logo--animated.svg?v=8-7-7" data-js-import-interactive-svg="">
        <img alt="Royal Canin logo" height="100" src="https://d3moonnr9fkxfg.cloudfront.net/1x1.gif?v=8-7-7" style="background-image: url(https://d3moonnr9fkxfg.cloudfront.net/logo--animated.png?v=8-7-7)" width="135" />
      </object>
    </a>
    <ul class="rc-list rc-list--blank rc-list--inline rc-list--align rc-header__right" role="menubar">
      <li class="rc-list__item">
        <button data-js-trigger="search-bar" class="rc-btn rc-btn--icon rc-icon rc-search--xs rc-iconography" aria-label="Search">
          <span class="rc-screen-reader-text">Search</span>
        </button>
      </li>
    </ul>
    <form class="rc-header__search-bar rc-hidden" data-js-target="search-bar" autocomplete="off">
      <button class="rc-btn rc-btn--icon rc-icon rc-search--xs rc-iconography rc-stick-left rc-vertical-align" type="submit" aria-label="Search">
        <span class="rc-screen-reader-text">Search</span>
      </button>
      <input data-js-autocomplete="" class="rc-header__input" placeholder="Start typing to search" id="header-search" type="search" value="" />
      <label for="header-search">
        <span class="rc-screen-reader-text">Start typing to search</span>
      </label>
      <button data-js-trigger="search-bar" class="rc-btn rc-btn--icon rc-icon rc-close--xs rc-iconography rc-stick-right rc-vertical-align" type="button" aria-label="Close">
        <span class="rc-screen-reader-text">Close</span>
      </button>
    </form>
  </nav>
  <nav class="rc-header__nav rc-header__nav--secondary rc-md-up">
    <ul class="rc-list rc-list--blank rc-list--inline rc-list--align rc-header__center"> </ul>
  </nav>
</header>

Copied!

The Header is clean and minimal in its look and function but does allow the flexibility for designers and developers to offer more or less options within the header bar if so required.

The header always features a centralised Secondary logo by default (featuring no strapline because of legibility) and on scroll of any page the logo transitions to the Tertiary logo (crown only). Digitally, we want to use the Crown marque more and more and this is a great way of slowly introducing users to the standalone marque whilst retaining familiarity through showing the normal, more familiar logo to users initially.

The Header also allows for optional call to action icon buttons that are aligned to the right hand side of the Header. These are common calls to action that you would expect from any Header such as a Site search for a larger project or a Basket feature for an e-commerce project.

Up to three icons can be featured in the Header (with only two on smaller devices due to space) and their actions are determined by the requirements of the project. For example, a User icon button may feature in the Header that is simply a link through to a ‘My Account’ section of a project, or it may be a User icon button that works on hover (where applicable) that reveals a Dropdown Dialogue component with that users details featured here instead.

The icon that isn’t displayed on smaller devices due to space is the furthermost left icon and so consideration should be taken on which icon button isn’t shown on mobile devices - it’s worth noting that this icon button can still be featured within the Menu component.

Finally, The Header includes the ability to show a Hamburger menu icon and label button - this is the primary action and focus of the Header bar and all future projects should look to distance themselves from previous menu bars, secondary, tertiary and mega dropdown menu options in favour of the Hamburger menu option and how that Component works.

The Hamburger menu icon and label button are, however, optional due to potential projects not needing such a large menu component on click to showcase a smaller amount (or in fact any) primary links in the navigation and so the Hamburger can be removed and replaced with a simple Menu bar that sits below the default header bar.

Usage

The Menu at its core is using the Modal component to create a full screen overlay which allows for the menu to be as prominent and feature as many Primary and Secondary navigation links as possible for any project.

On larger displays it can also feature a message and relevant imagery to assist with brand communication where necessary and optional calls to action. Ideally these will reflect the same actions as the call to action icon buttons that may be featured in the Header component.

The Menu also includes its own form of Footer that can include an Icon button with label to initialise the Country & Language Selector Component if available and the relevant Social Channels for the region; both are optional.

Copied!