Skip to main content
Version: Next

HeaderTab

Home > @backstage/ui > HeaderTab

Represents a tab item in the header navigation.

Signature:

export interface HeaderTab 

Properties

Property

Modifiers

Type

Description

href?

string

(Optional)

id

string

label

string

matchStrategy?

TabMatchStrategy

(Optional) Strategy for matching the current route to determine if this tab should be active. - 'exact': Tab href must exactly match the current pathname (default) - 'prefix': Tab is active if current pathname starts with tab href