~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/hud

A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts

0
0
16 lines · 451 B Raw History
<script lang="ts">
	import { handleText } from '../model';

	/** Someone's handle, as `@handle` everywhere, else their DID; a long one wraps where it must, whole. */
	let { did, handle = null }: { did: string; handle?: string | null } = $props();

	const said = $derived(handleText(did, handle));
</script>

<span class="handle" title={said === did ? did : `${said} · ${did}`}>{said}</span>

<style>
	.handle {
		overflow-wrap: anywhere;
	}
</style>