# LinkHost

> The site an outbound link goes to, shown as its host with an arrow out, so a reader knows where a bookmark leads before following it.

```ts
import { LinkHost } from "@sdxc/ui/blog";
```

Renders an `<a>` to the outbound address reading its host and an arrow out, opened with
`rel="noreferrer"` unless the caller sets its own `rel`. The arrow is decorative, so the
link's accessible name is the host, or the `children` that replace it.

## Examples

```tsx
<LinkHost href="https://www.example.com/essay" />
```

```tsx
<LinkHost href={post.url} variant="chip" />
```

```tsx
<LinkHost href={post.url}>Visit {linkHost(post.url)}</LinkHost>
```

## Props

Takes no props of its own.

## Types

| Name | Values | What it decides |
| --- | --- | --- |
| `Variant` | `"plain" \| "chip"` | `plain` sets the host as small muted text; `chip` draws it in a hairline pill in the monospace face, to stand beside a title. |

## Also exported

- `linkHost`
