<script lang="ts">
  import Root from 'bits-ui';
  import { cn, type WithoutChildren } from '$lib/utils/cn.svelte.js';

  let {
    ref = $bindable(null),
    class: className,
    ...restProps
  }: WithoutChildren<Root.Field.DescriptionProps> = $props();
</script>

<Root.Field.Description
  bind:ref
  data-slot="field-description"
  class={cn('text-muted-foreground text-sm', className)}
  {...restProps}
/>