BackLink
Default
Svelte code
<script>
import { BackLink } from '@danboscaro/govuk-svelte'
</script>
<BackLink {...{
href: "#"
}} />
With custom text
Svelte code
<script>
import { BackLink } from '@danboscaro/govuk-svelte'
</script>
<BackLink {...{
href: "#",
text: "Back to home"
}} />
Inverse
Svelte code
<script>
import { BackLink } from '@danboscaro/govuk-svelte'
</script>
<BackLink {...{
classes: "govuk-back-link--inverse",
href: "#"
}} />