This repository has no description
1<script lang="ts">
2 // a neutral pulsing placeholder used to reserve a control's space while data
3 // loads, so tabs fill in without a spinner or bounding-box shift. the caller
4 // sets size and rounding via `class` (e.g. "h-4.5 w-8.25 rounded-full").
5 interface Props {
6 class?: string;
7 }
8
9 let { class: className = "" }: Props = $props();
10</script>
11
12<span class="block animate-pulse bg-background-muted {className}" aria-hidden="true"></span>