chadtmiller.com/hud
A remote MCP server that shows atproto records as interactive UI inside MCP Apps hosts
place.hud.hudkit 0.3.1 Latest 5 packages
0
0
<script lang="ts">
// A component the server could not draw (an unknown one, a binding it
// could not read, a required prop with no value), shown small and in
// place, so the rest of the tree still draws.
let { component, message }: { component: string | null; message: string } = $props();
</script>
<span class="error" role="note"><strong>{component ?? 'node'}</strong> {message}</span>
<style>
.error {
display: inline-block;
align-self: flex-start;
max-width: 100%;
padding: 0.125rem var(--hud-space-2);
border: var(--border-width-regular) dashed var(--color-border-danger);
border-radius: var(--border-radius-sm);
background: var(--color-background-danger);
color: var(--color-text-danger);
font-family: var(--font-mono);
font-size: var(--font-text-xs-size);
line-height: var(--font-text-xs-line-height);
overflow-wrap: anywhere;
}
strong {
font-weight: var(--font-weight-semibold);
}
</style>