Hiyve Components - v1.0.0
    Preparing search index...

    Interface NavItem

    A single nav item shown in the portal sidebar and optional mobile bottom nav.

    interface NavItem {
        badge?: boolean;
        group?: string;
        icon: ReactNode;
        label: string;
        path: string;
    }
    Index

    Properties

    badge?: boolean

    Show an error-colored dot overlay on the icon (e.g. for unread counts).

    group?: string

    Optional group header for the item. Consecutive items with the same group value render under a shared uppercase caption, with dividers between groups. Ungrouped items render as a plain list.

    icon: ReactNode

    Icon rendered alongside the label.

    label: string

    Display text for the item.

    path: string

    Path used for active-state detection and passed to onNavigate when the item is clicked.