add template and icons comps

This commit is contained in:
JCEEE
2026-08-26 10:17:58 +01:00
parent 8fea21704a
commit edfb48ad3a
2 changed files with 96 additions and 0 deletions
@@ -0,0 +1,13 @@
<script lang="ts">
import { templateIcon } from '$lib/templateIcons';
let { name = undefined, size = 18, color = undefined }: {
name?: string;
size?: number;
color?: string;
} = $props();
const Cmp = $derived(templateIcon(name));
</script>
<Cmp {size} {color} />