Link

A simple customizable link component.

View source

Examples

API Reference

PropertyTypeDefaultDescription
align
union
"start"Text alignment
as
keyof SvelteHTMLElements
"div"Render element as
children Snippet
Snippet<[void]>
Text content to render
color
string | number | symbol
Text color
disabled
boolean
falseDisable text
elementRef $bindable
HTMLElement
Rendered DOM element
muted
boolean
falseMute text (like disabled without aria-disabled)
size
union
"3"Font size
transform
union
Text transform
truncate
boolean
falseTruncate text with ellipsis
underline
union
"auto"Text decoration underline
weight
union
"regular"Font weight
wrap
union
Wrap text mode
v0.0.13