Component Builder Information (v2)

Home Alternate Versions Color Checker Preview Lists Help Notes

Header on Base Toolkit - Version 2.8


Preview this component
(Custom Element; v1.1.0; 4/26/2021)

Guidelines using the component

Your site's title

<il-search slot="search"></il-search>

<nav slot="links" class="il-links" aria-label="Top">
    <ul>
        <li><a href="#">Apply</a></li>
        <li><a href="#">Chat</a></li>
        <li><a href="#">People</a></li>
        <li><a href="#">Give</a></li>
    </ul>
</nav>

Technical Information

Note that this is used in conjunction with the Navigation, Navigation Section, Unit Wordmark, and Search component. This is meant to all work in conjunction with each other, so you may choose to add and remove pieces as needed.

Often, a CMS will have tools that automate the navigation and can generate this automatically. Contact the team that is working with your CMS to see if this can be automated.

Description

The Illinois Components Header defines an area at the top of the page which should contain (at a minimum) the site’s title. Navigation, search, and specialty links can also be included in the il-header component.

Customizations and notes

Adding search and navigation

  • You can add a basic Search element with <il-search slot="search"></il-search>. See the Search page for additional search customizations.
  • How to build navigation with either single-level or unfolding menu options is described in the Menu Navigation page.

Specialty links

  • The “Apply / Donate / Contact” links at the top right of the screen shot above are links that this particular site has decided to handle separately from the rest of the menu system but still provide on every page of the site. “Log in” might be another specialty link to consider for this area.

Adding the unit wordmark

  • The element <il-unit-wordmark> must be contained in a container (usually a div) identified with slot=”wordmark”.
  • <il-unit-wordmark> should contain an <h1> enclosing the site’s title.

Component Display

Change Your Content and Options

Template -- enter raw HTML here

Important Classes

N/A

Classes

N/A

Attributes

N/A

Advanced Options

These options are only to be used in advanced situations -- most of your needs should be met through the attributes and classes, and this breaks the intent of having a unified design.

Custom Style Tag before text

N/A

How to add it to your page

Copy and paste this in your page. Remember

Note that this uses the custom style 'builder-custom'. You may need to change this if you are using multiple versions of this component with different styles.

Copied to clipboard