🎨 Add dialog UI component

This commit is contained in:
pheralb
2025-08-21 11:58:55 +01:00
parent 313a34cd00
commit 809d763841
9 changed files with 197 additions and 0 deletions
@@ -0,0 +1,17 @@
<script lang="ts">
import { Dialog as DialogPrimitive } from "bits-ui";
import { cn } from "@/utils/cn";
let {
ref = $bindable(null),
class: className,
...restProps
}: DialogPrimitive.TitleProps = $props();
</script>
<DialogPrimitive.Title
bind:ref
data-slot="dialog-title"
class={cn("font-onest text-lg leading-none font-semibold", className)}
{...restProps}
/>