Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/ui-kit. 🦊 fox ui, svelte 5 and tailwind 4 flo-bit.dev/ui-kit
Something went wrong. Try again.
123456789101112131415161718192021<script lang="ts"> import type { WithElementRef } from 'bits-ui'; import type { HTMLAttributes } from 'svelte/elements'; import { cn } from '$lib/utils';
let { ref = $bindable(null), class: className, children, ...restProps }: WithElementRef<HTMLAttributes<HTMLParagraphElement>> = $props();</script>
<p bind:this={ref} class={cn('text-base-700 dark:text-base-200 text-sm font-medium', className)} {...restProps}> {@render children?.()}</p>