Link
---
import Link from 'fulldev-ui/components/Link.astro'
---
<Link href="/base/link">Link</Link>
Props
Prop | Type | Default |
---|---|---|
underline | 'auto' | 'always' | 'hover' | 'none' | auto |
size | 'sm' | 'md' | 'lg' | - |
color | 'base' | 'brand' | - |
contrast | boolean | - |
html | string | - |
text | string | - |
as | HTMLTag | a |
HTML Attributes | Polymorphic<a> | - |
Examples
---
import Link from 'fulldev-ui/components/Link.astro'
---
<Link href="/base/link" size="sm">Link</Link>
<Link href="/base/link" size="md">Link</Link>
<Link href="/base/link" size="lg">Link</Link>
---
import Link from 'fulldev-ui/components/Link.astro'
---
<Link href="/base/link" underline="auto">Link</Link>
<Link href="/base/link" underline="always">Link</Link>
<Link href="/base/link" underline="hover">Link</Link>
<Link href="/base/link" underline="none">Link</Link>
---
import Link from 'fulldev-ui/components/Link.astro'
---
<Link href="#">Link</Link>
<Link href="#" contrast>Link</Link>