Website Link
Displays a compact inline website link with an automatically derived favicon and resilient fallback.
@rivetui/website-linkPreview
Explore each composition interactively, then open its code in the same context.
Default
Use website links inline when the destination identity is useful context.
Release note / 04
The component registry is documented on Rivet UI (opens in a new tab) and follows the installation workflow from shadcn/ui (opens in a new tab).
Metadata and protocols
HTTP links resolve site identity, while mail and telephone links use dedicated fallbacks.
Sizing and overflow
Sizes align the link with surrounding typography; long titles truncate inside constrained layouts.
Registry
Installation
Add the component source and its declared dependencies with the shadcn CLI.
bunx --bun shadcn@latest add @rivetui/website-linkPublic interface
API reference
Component-specific props are listed here. Native element and Base UI props continue to pass through.
| Prop | Type | Default |
|---|---|---|
href | string | Required |
title | string | Hostname, email address, or phone number derived from href |
size | "sm" | "md" | "lg" | "md" |
target | React.ComponentProps<"a">["target"] | — |
rel | React.ComponentProps<"a">["rel"] | Adds "noopener noreferrer" when target="_blank" |
className | string | — |