sidebar component

This commit is contained in:
pa
2026-01-16 16:21:20 +09:00
committed by Natsumi
parent 8fd24d2914
commit 9cde6c5bb0
36 changed files with 1118 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<script setup>
import { cn } from '@/lib/utils';
const props = defineProps({
class: {
type: [String, Array, Object],
default: undefined
}
});
</script>
<template>
<div
data-slot="sidebar-group"
data-sidebar="group"
:class="cn('relative flex w-full min-w-0 flex-col p-2', props.class)">
<slot />
</div>
</template>