add shadcn-svelte components

added
- button
- card
- field
- input
- label
- separator
- sonner
- tabs
This commit is contained in:
hiperman
2026-02-21 20:14:07 -05:00
parent f1069c240d
commit 84077e0e37
36 changed files with 1065 additions and 6 deletions
@@ -0,0 +1,17 @@
<script lang="ts">
import { Tabs as TabsPrimitive } from "bits-ui";
import { cn } from "$lib/utils.js";
let {
ref = $bindable(null),
class: className,
...restProps
}: TabsPrimitive.ContentProps = $props();
</script>
<TabsPrimitive.Content
bind:ref
data-slot="tabs-content"
class={cn("flex-1 outline-none", className)}
{...restProps}
/>