Link
A simple customizable link component.
View source
Examples
API Reference
Property | Type | Default | Description |
---|---|---|---|
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 | false | Disable text |
elementRef $bindable | HTMLElement | Rendered DOM element | |
muted | boolean | false | Mute text (like disabled without aria-disabled) |
size | union | "3" | Font size |
transform | union | Text transform | |
truncate | boolean | false | Truncate text with ellipsis |
underline | union | "auto" | Text decoration underline |
weight | union | "regular" | Font weight |
wrap | union | Wrap text mode |