Files
2026-09-22 02:24:49 +02:00

17 lines
465 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(
'cladd-surface cladd-gradient cladd-outline scrollbar-none inline-flex h-9 items-center gap-0.5 overflow-x-auto rounded-full p-1 text-cladd-fg',
className
)}
{...restProps}
/>