flbxcup/resources/js/components/ui/tabs/tabs-list.svelte
2025-06-23 23:12:40 +02:00

20 lines
431 B
Svelte

<script lang="ts">
import { Tabs as TabsPrimitive } from "bits-ui";
import { cn } from "@/lib/utils.js";
let {
ref = $bindable(null),
class: className,
...restProps
}: TabsPrimitive.ListProps = $props();
</script>
<TabsPrimitive.List
bind:ref
data-slot="tabs-list"
class={cn(
"bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
className
)}
{...restProps}
/>