enes

Hyperlink

El componente Hyperlink se usa para crear enlaces interactivos que navegan a una URL especificada. Sigue los principios de diseño de Fluent UI y garantiza accesibilidad e interacciones fluidas.

Uso

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

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

Disabled

Deshabilita el enlace e impide la navegación.

Propiedades

NameTypeDescription
hrefstringLa URL a la que se navegará cuando se haga clic en el enlace.
disabledbooleanDeshabilita el enlace e impide la navegación.
childrenSnippetEl contenido del enlace.
refHTMLAnchorElementUna referencia enlazable al elemento anchor subyacente.
Element AttributesPuedes usar cualquier atributo válido de un anchor HTML (por ejemplo, target, rel, etc.).