Skip to content

Icons Reference

HC Starlight provides a set of built-in icons that you can display in your content using the <Icon> component.

Our icons are normalized versions of some of the @hackclub/icons, optimized for consistency and accessibility.

Icons can be displayed using the <Icon> component.

Use the HCIcons TypeScript type to reference the names of HC Starlight’s built-in icons.

src/icon.ts
import type { HCIcons } from "hc-starlight/types";
function getIconLabel(icon: HCIcons) {
// …
}

A list of all available icons is shown below with their associated names. Click an icon to copy its name to your clipboard.