Skip to content
Entangle UI v0.13.0

PathSegment

Defined in: src/components/navigation/PathBar/PathBar.types.ts:15

A single segment of a path. Pass these (instead of a raw string) when a segment needs its own icon or an explicit navigation value.

optional icon?: ReactNode

Defined in: src/components/navigation/PathBar/PathBar.types.ts:26

Icon rendered before the label, overriding any default for this segment.


label: string

Defined in: src/components/navigation/PathBar/PathBar.types.ts:17

Text shown for the segment.


optional value?: string

Defined in: src/components/navigation/PathBar/PathBar.types.ts:23

Path handed to onNavigate when this segment is activated. Defaults to the cumulative path built from the preceding labels and the delimiter.