$Navigation = @(
    New-UDListItem -Label 'Home' -Icon (New-UDIcon -Icon Home) -OnClick {
        Invoke-UDRedirect -Url '/home'
    }
    New-UDListItem -Label 'Users' -Icon (New-UDIcon -Icon User) -OnClick {
        Invoke-UDRedirect -Url '/users'
    }
    New-UDListItem -Label 'Groups' -Icon (New-UDIcon -Icon Users) -OnClick {
        Invoke-UDRedirect -Url '/groups'
    }
)

New-UDApp -Title 'PowerShell Universal' -Pages @(
    Get-UDPage -Name 'home'
    Get-UDPage -Name 'users'
    Get-UDPage -Name 'groups'
) -Navigation $Navigation