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

Link

A styled HTML a link or anchor element.

Props

HTMLAnchorElement props are included.

/** Additional class names to apply. */
export let variant: string = '';

Events

HTMLAnchorElement events are included.

Methods

HTMLAnchorElement blur, click, and focus methods are included.

Anatomy

<a class="sterling-link">
  <slot {disabled} {href} {variant} />
</a>

Playground