Component

Link

Connects users to new destinations.

Installation

npx lomer-ui add link

Or copy-paste the

Usage

import Link from '$lib/components/ui/link.svelte'
<Link href="/">lomer-ui</Link>

Preview

Examples

No underline

Add no-underline class.

<Link class="no-underline" href="#">lomer-ui</Link>

Preview

Caret

Add caret property.

<Link href="#" caret>lomer-ui</Link>

Preview

Multiple

<div class="flex flex-col gap-2">
	<Link href="#" class="no-underline" caret>lomer-ui</Link>
	<Link href="#" class="no-underline" caret>lomer-ui</Link>
	<Link href="#" class="no-underline" caret>lomer-ui</Link>
</div>

Loading

Add isLoading property.

<Link href="#" isLoading>lomer-ui</Link>

Preview