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 small tag, such as a count, a label or a language: its words in a
// quiet pill. The tree's Badge draws it.
let { value }: { value: string } = $props();
</script>
<span class="badge">{value}</span>
<style>
.badge {
display: inline-block;
/* As wide as its words, though what holds it stretches its children (a
Stack); a row still centres it as it centres the rest. */
width: fit-content;
max-width: 100%;
padding: 0 var(--hud-space-2);
border: var(--border-width-regular) solid var(--color-border-secondary);
border-radius: var(--border-radius-full);
background: var(--color-background-secondary);
color: var(--color-text-secondary);
font-size: var(--font-text-xs-size);
line-height: 1.6;
overflow-wrap: anywhere;
}
</style>