SectionBackLink

Muted back link with an arrow, used above sections.

Usage

svelte
<script lang="ts">
  import { SectionBackLink } from "@milandekruijf/ui/svelte";
</script>

<SectionBackLink href="/design/components" label="Back to components" />

Examples

Back link
<script lang="ts">
  import { SectionBackLink } from "@milandekruijf/ui/svelte";
</script>

<SectionBackLink href="#main-content" label="Go back" />

Props

PropTypeDefaultDescription
hrefstring—
Destination of the back link.
label?string"Go back"
Visible link text; pass a localized string in the app.