Skip to content

Sidebar Icons #961

Description

@imfing

Discussed in #960

Originally posted by Grabsky March 10, 2026
I don't think this needs much explanation. Icons can make sidebar much more readable. Nearly every static site generator I was using for docs, had first-party support sidebar icons.

Configurable in hugo.yaml for static sidebar entries, and per-document / directory via top-level property.

---
title: "Getting Started"
type: docs
icon: icon-name
---

Ideally, should support Heroicons as well as data/icons.yaml.

Considered Alternatives

I did consider using emojis instead but it isn't viable for number of reasons.

  • Emojis can look different on each platform / device, and can be too detailed for small font sizes.
  • Emojis are inconsistent and not rendered in monochrome, which can actually lead to more sidebar clutter.
  • Emojis simply lack a lot of symbols.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions