Skip to content
CONTENT · FREE

Link

Links that look right and handle external addresses safely.

Links that look right and handle external addresses safely, opening a new tab with the right protections.

Why it helps

  • Safe external links
  • Icon for external
  • Styled

Where it fits

  • Content
  • Footers
  • Menus
Link control in a RayCraft page

Example

<Stack Align="center" Wrap="true">
    <Link Href="components/button">Internal link</Link>
    <Link Href="https://learn.microsoft.com/aspnet/core/blazor" External="true">Blazor documentation</Link>
    <Link Href="components/button" StartIcon="IconName.Download">With icon</Link>
    <Link Href="components/button" Disabled="true">Disabled</Link>
</Stack>

A short fragment. Add @using RayCraft.Blazor.Components to your page and use an interactive render mode.

Included in RayCraft Free. Working examples are in the GitHub repository (MIT); it holds example and demo code, not the library code.

All controls ยท Documentation