chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.5.0 Latest 5 packages
0
0
<script lang="ts">
import Avatar from '../atoms/Avatar.svelte';
import Handle from '../atoms/Handle.svelte';
/** Someone: their face, their handle (else their DID), whether it is you, and what is said about them under it. */
let { did, handle, you = false, here = false, about = null }: { did: string; handle?: string; you?: boolean; here?: boolean; about?: string | null } = $props();
</script>
<span class="person">
<Avatar {did} {handle} size="md" {here} />
<span class="names">
<span><Handle {did} {handle} />{you ? ' (you)' : ''}</span>
{#if about}<span class="about">{about}</span>{/if}
</span>
</span>
<style>
.person {
display: flex;
flex: 1;
align-items: center;
gap: var(--space-2-5);
min-width: 0;
}
.names {
display: flex;
flex-direction: column;
min-width: 0;
line-height: var(--leading-tight);
}
.about {
color: var(--mute);
font-size: var(--text-xs);
}
</style>