sterling-svelte  2.0.3
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

<a class="sterling-link">
  {@render children()}
</a>