enes

Hyperlink

The Hyperlink component is used to create clickable links that navigate to a specified URL. It follows Fluent UI design principles and ensures accessibility and smooth user interactions.

Usage

<script>
  import { Hyperlink } from 'fluentui-svelte';
</script>

<Hyperlink href="/">Go to Home</Hyperlink>

Disabled

Disables the user interaction.

Props

NameTypeDefaultDescription
hrefstring'#'The URL the hyperlink points to.
disabledbooleanDisables the user interaction.
ref bindableHTMLAnchorElementThe DOM reference of the anchor element.
Element Attributes (a)