diff --git a/src/lib/components/ui/NotificationBadge.svelte b/src/lib/components/ui/NotificationBadge.svelte new file mode 100644 index 00000000..7fa89589 --- /dev/null +++ b/src/lib/components/ui/NotificationBadge.svelte @@ -0,0 +1,60 @@ + + + + +{#if count > 0} + + {#if showCount} + {count > 99 ? '99+' : count} + {/if} + +{/if} + +