sterling-svelte  2.0.0
A modern, accessible, lightweight UI component library for Svelte.

Link

An interactive anchor element to navigate to a URL.

Code
<script lang="ts">
  import { Link } from '@geoffcox/sterling-svelte';
</script>

<Link href="/docs/sterling-svelte/components/link">
  <SterlingIcon/>sterling-svelte
</Link>

Considerations

  • Includes HTMLAnchorElement props, events, and methods.

Anatomy

link (<a>)
  children (Snippet)