Link

A navigational text primitive with optional leading and trailing icons.

Basic Usage

Code Snippet

<script lang="ts">		import { Link } from '$lib/components';	</script> 	<Link href="/components" rightIcon="arrow-right">Browse components</Link>

Examples

Inline Use

Use links inline when the next step is navigational rather than confirmational.

Read the Button docs before wiring primary actions into a launch flow.