Skip to content
Halorav0.1.0

Components

Divider and link

Small pieces that finish a page.

Divider#



DocsBlogGitHub

HTML
<div style="width:100%">
  <hr class="ha-divider">
  <hr class="ha-divider ha-divider--fade">
  <p>Docs<span class="ha-divider ha-divider--vertical" role="presentation"></span>Blog<span class="ha-divider ha-divider--vertical" role="presentation"></span>GitHub</p>
</div>
HTML
<a class="ha-link" href="#divider-link">Accent link</a>
<a class="ha-link ha-link--subtle" href="#divider-link">Subtle link</a>
<a class="ha-link ha-link--plain" href="#divider-link">Plain until hover</a>

Accent links use accent-text, which passes AA on the canvas. The underline is always present on the accent link so color is not the only cue.

Input and key hint#

Press / or Ctrl K
HTML
<label class="ha-visually-hidden" for="demo-input">Search</label>
<input class="ha-input" id="demo-input" type="search" placeholder="Search" style="max-width:320px">
<span>Press <kbd class="ha-kbd">/</kbd> or <kbd class="ha-kbd">Ctrl</kbd> <kbd class="ha-kbd">K</kbd></span>
ClassPurpose
ha-divider, --fade, --verticalRules.
ha-link, --subtle, --plainLink styles.
ha-inputA 48px pill text field with a visible focus ring.
ha-kbdA key cap.

Edit this page on GitHub

Type to search.