🎉 Init

This commit is contained in:
2026-08-21 15:29:01 +02:00
commit 02e5b1f4e4
33 changed files with 11392 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<template>
<button type="button" class="inline-flex items-center gap-0.5 transition-colors hover:text-text" @click="$emit('click')">
<slot />
<span class="flex flex-col">
<span
class="material-symbols-outlined !text-[18px] leading-[8px]"
:class="active === 'asc' ? 'text-accent' : 'text-muted/40'"
>arrow_drop_up</span>
<span
class="material-symbols-outlined !text-[18px] leading-[8px] -mt-2.5"
:class="active === 'desc' ? 'text-accent' : 'text-muted/40'"
>arrow_drop_down</span>
</span>
</button>
</template>
<script setup lang="ts">
defineProps<{ active: 'asc' | 'desc' | null }>()
defineEmits<{ click: [] }>()
</script>