LinkCard
A preview card of a URL: the favicon and domain, the title, a description and a thumbnail. A click opens the link in a new tab, or sends onClick when it is bound. Use it for sources, articles and products that have a page.
Examples
Loading examples…
Props
| Prop | Type | Description |
|---|---|---|
href | string | The URL (http, https) |
title | string | The page title |
description | string | One or two lines |
image | string | A thumbnail URL |
domain | string | Shown next to the favicon. Default: the host of href |
favicon | boolean | Default true |
Events
onClick· Sent when the user clicks the card, instead of the link.