A Vue component that displays a preview image of a linked website on hover.
Prop | Type | Default | Description |
---|---|---|---|
url | String | "https://astrilya.com" | The URL of the website to preview. |
width | Number | 800 | The width of the preview image. |
height | Number | 800 | The height of the preview image. |
Slot | Description |
---|---|
default | Content for the link text or element. |
You can customize the LinkPreview component:
url
, width
, and height
props to change the preview image.<style>
section to alter the animation, size, or positioning of the preview image.