How to make a card a link?

Hey @GarySmithPS without using the cool NEW stuff @AlonGvili has been cooking up you are limited. We will hopefully have that documented / putting out tutorials / training materials soon to get people up and running on the new material UI components!

Especially for mobile I could see building a “Tile based” navigation UI using these methods that would be a good experience!

For now on UD Cards you can can embed links but you don’t have as much flexibility, but here are some options that might work for you for now:

New-UDCard -Title "Card With Links" -Content {
        
        #UDLink
        New-UDLink -Text "This is a UD Link in a CARD Content" -Url "https://github.com"
        
        #HTML
        New-UDHtml -Markup '<a href="https://github.com">This is a UDHTML in CARD Content</a>'

        #BUTTON
        New-UDButton -Flat -Text "BUTTON In Card Content" -Icon fast_forward -OnClick {
            Invoke-UDRedirect -Url "https://github.com"
        }

    } -Links @(
        New-UDLink -Text "This is a UDLink in CARD LINKS" -Url "https://github.com"
    )

While the whole card is not a link there are at least some links in the card:

image

@artvandelay440 has also been doing some really cool ui work, that he has been nice enough to show off as well and give some examples: