johnandersen777.bsky.social/knotless
git that lives in your Atmosphere account
Forked from chadtmiller.com/knotless
0
0
<script lang="ts">
/** A bar filled as far as `used` goes of `of`, full past it. */
let { used, of }: { used: number; of: number } = $props();
const share = $derived(Math.min(100, Math.round((used * 100) / of)));
</script>
<span class="meter" role="img" aria-label="{share}% used"><i style:width="{share}%"></i></span>