Inline URL pill
A URL shared in a chat message, rendered inline within the prose as a compact link chip — a favicon marks the service, the host + path is shown (truncated), and the pill sits on the text baseline and wraps as a unit. Clickable; opens in a new tab.
Included in the single kansho full pack. Components are not offered as separate installs.
In a message — the reference
Reads cleanly in both the user (grey) and assistant (light) bubbleKnown services — inline in prose
The walkthrough is on youtube.com/watch?v=4y33h81phKU, the source lives at github.com/vercel/next.js, and the design file is figma.com/file/abc123/Kit — take a look before the sync.
Long URL — truncates with an ellipsis
Full URL on hover / for screen readersLogs are at console.cloud.example.com/logs?… if you want the full trace.
Fallback + label override
Globe shows when a favicon fails to loadComponent documentation
Inline Url Pill
components/agent/inline-url-pill.tsxPurpose
Renders a compact external URL link with a local no-network favicon stand-in.
Appropriate use
Use inline in prose when the destination should remain visible without showing a long raw URL.
Example
components/agent/inline-url-pill.tsx has a representative live example in the "In a message — the reference" section on /components/inline-url-pill.
States
Supports computed or overridden labels, configurable truncation, bare hosts or full URLs, and an optional click callback.
API and props
InlineUrlPill accepts url, label, maxLength, onClick, and className.
Dependencies
Direct imports are UrlFavicon and cn.
Accessibility
It renders an anchor with an accessible label containing the full destination; the favicon is decorative.
Limitations
It opens a navigation target and does not validate safety, fetch favicon data, or warn before leaving the application.
Source
Source: components/agent/inline-url-pill.tsx.
Full pack
components/agent/inline-url-pill.tsx is documented at /components/inline-url-pill and installs only through the single Kansho full pack; no individual component install is offered.