🎉 Init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<div class="flex items-center gap-2" :title="`${parts} part${parts === 1 ? '' : 's'}`">
|
||||
<div class="flex h-2 w-16 gap-[2px]">
|
||||
<div
|
||||
v-for="n in parts"
|
||||
:key="n"
|
||||
class="flex-1 rounded-[1px] bg-accent"
|
||||
/>
|
||||
</div>
|
||||
<span class="font-mono text-[11px] tabular-nums text-muted">{{ parts }}×</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps<{ parts: number }>()
|
||||
</script>
|
||||
Reference in New Issue
Block a user