~ 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
19 lines · 530 B Raw History
<script lang="ts">
	import { icons, type IconName } from '../icons';

	/** One of lib/icons.ts's, at 16 in the text's colour; `label` says what it means when no word stands beside it. */
	let { name, label }: { name: IconName; label?: string } = $props();
</script>

<svg
	class="i"
	viewBox="0 0 24 24"
	fill="none"
	stroke="currentColor"
	stroke-width="2"
	stroke-linecap="round"
	stroke-linejoin="round"
	role={label ? 'img' : undefined}
	aria-label={label}
	aria-hidden={label ? undefined : 'true'}>{@html icons[name]}</svg
>