Files
trevstack/client/src/lib/ui/tabs/tabs-list.svelte
2025-05-13 17:19:12 -04:00

17 lines
408 B
Svelte

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