Skip to content

@sikt/sds-breadcrumbs: Icons in breadcrumb

Feature request

Title

Icons in breadcrumb

Component

Breadcrumb

Affects

  • Design
  • Development

Details

It would be nice to have the option to add an icon to an item in the breadcrumb. This is particularly useful when the path hierarchy varies a lot, as an icon gives a quick visual hint about what each level represents. It makes the trail easier to scan and helps users understand the structure at a glance.

In the case of Oversikt, we're dealing with quite a complex hierarchy, and this feature would be very helpful.

Perhaps an icon prop on <BreadcrumbItem /> would do the trick?

It should be noted that a breadcrumb should mainly be text-only, an icon should only be used when the breadcrumb needs to be easily scannable and/or the hierarchy is complex.

Edited by Andreas Tande