Skip to content
Halorav0.1.0

Components

Chip, tag, and badge

Small labels with three levels of weight.

Chip#

HTML
<ul class="ha-chip-list" role="list">
  <li class="ha-chip"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="m8 8-4 4 4 4M16 8l4 4-4 4M14 5l-4 14"/></svg> TypeScript</li>
  <li class="ha-chip"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="m12 3 9 5-9 5-9-5 9-5z"/><path d="m3 13 9 5 9-5"/></svg> React</li>
  <li class="ha-chip"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect x="3" y="4" width="18" height="7" rx="2"/><rect x="3" y="13" width="18" height="7" rx="2"/><path d="M7 7.500h.01M7 16.500h.01"/></svg> Kubernetes</li>
  <li><a class="ha-chip" href="#chip"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M7 17 17 7M8 7h9v9"/></svg> A link chip</a></li>
</ul>

Tag#

Mono, 13px, outlined. For technologies and short metadata.

React TypeScript Tailwind
HTML
<span class="ha-tag">React</span>
<span class="ha-tag">TypeScript</span>
<span class="ha-tag">Tailwind</span>

Status badge#

The dot color comes from --ha-cor. Three presets cover the portfolio statuses.

Live Technical challenge Private Beta New
HTML
<span class="ha-badge ha-badge--live">Live</span>
<span class="ha-badge ha-badge--challenge">Technical challenge</span>
<span class="ha-badge ha-badge--private">Private</span>
<span class="ha-badge" style="--ha-cor:var(--ha-glow)">Beta</span>
<span class="ha-badge ha-badge--solid">New</span>
ClassPurpose
ha-chip, ha-chip-listPill with optional icon, and the list that wraps them.
ha-tagOutlined mono label.
ha-badge, --live, --challenge, --private, --solidStatus with a dot, or a solid pill.

Accessibility#

  • Status is always written out as text. The dot is never the only signal.
  • Link chips are at least 36px tall; give them room on phones or use a button.
  • The solid badge is white on the accent fill, 5.18:1.

Edit this page on GitHub

Type to search.