{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "extends": "none",
  "name": "textarea",
  "title": "textarea",
  "description": "textarea",
  "dependencies": [
    "react-aria-components"
  ],
  "registryDependencies": [
    "https://intentui.com/r/primitive"
  ],
  "files": [
    {
      "path": "src/components/ui/textarea.tsx",
      "content": "\"use client\"\n\nimport {\n  TextArea,\n  type TextAreaProps as TextAreaPrimitiveProps,\n} from \"react-aria-components/TextArea\"\nimport { cx } from \"@/lib/primitive\"\n\nexport interface TextAreaProps extends TextAreaPrimitiveProps {\n  ref?: React.Ref<HTMLTextAreaElement>\n}\nexport function Textarea({ className, ref, ...props }: TextAreaProps) {\n  return (\n    <span data-slot=\"control\" className=\"relative block w-full\">\n      <TextArea\n        {...props}\n        ref={ref}\n        className={cx(\n          \"field-sizing-content relative block min-h-16 w-full appearance-none rounded-lg bg-(--control-bg,transparent) px-[calc(--spacing(3.5)-1px)] py-[calc(--spacing(2.5)-1px)] sm:px-[calc(--spacing(3)-1px)] sm:py-[calc(--spacing(1.5)-1px)]\",\n          \"text-base/6 text-foreground placeholder:text-muted-foreground sm:text-sm/6\",\n          \"border border-input enabled:hover:border-muted-foreground/30\",\n          \"outline-hidden focus:border-ring/70 focus:ring-3 focus:ring-ring/20 focus:enabled:hover:border-ring/80\",\n          \"invalid:border-danger-subtle-foreground/70 focus:invalid:border-danger-subtle-foreground/70 focus:invalid:ring-danger-subtle-foreground/20 invalid:enabled:hover:border-danger-subtle-foreground/80 invalid:focus:enabled:hover:border-danger-subtle-foreground/80\",\n          \"disabled:bg-muted forced-colors:in-disabled:text-[GrayText]\",\n          \"in-disabled:bg-muted forced-colors:in-disabled:text-[GrayText]\",\n          \"dark:scheme-dark\",\n          className\n        )}\n      />\n    </span>\n  )\n}\n",
      "type": "registry:ui"
    }
  ],
  "cssVars": {
    "theme": {
      "color-danger-subtle-foreground": "var(--danger-subtle-foreground)"
    },
    "light": {
      "danger-subtle-foreground": "oklch(0.505 0.213 27.518)"
    },
    "dark": {
      "danger-subtle-foreground": "oklch(0.704 0.191 22.216)"
    }
  },
  "type": "registry:ui"
}