ptitlutins/app/components/molecules/ChildPill.vue
2026-06-10 23:37:21 +02:00

29 lines
568 B
Vue

<script setup lang="ts">
defineProps<{
n: number
}>()
</script>
<template>
<span class="child-pill">
<Icon name="carbon:list-boxes" size="0.8rem" />
{{ n }}
</span>
</template>
<style scoped>
.child-pill {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 8px;
border-radius: var(--radius-pill);
background: var(--neutral-5);
border: 1px solid var(--border-subtle);
font-family: var(--font-body);
font-size: 0.68rem;
font-weight: var(--weight-semibold);
color: var(--text-muted);
white-space: nowrap;
}
</style>