{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "field", "title": "Field", "description": "Polaris-styled Field component.", "dependencies": [], "devDependencies": [ "@shopify/polaris-types" ], "registryDependencies": [ "@polaris-shadcn/theme", "@polaris-shadcn/utils" ], "files": [ { "path": "registry/templates/components/ui/field.tsx", "content": "import * as React from \"react\";\nimport { cn } from \"../../lib/utils\";\n\ntype STextFieldProps = React.ComponentPropsWithoutRef<\"s-text-field\">;\n\nexport interface FieldProps extends STextFieldProps {\n className?: string;\n description?: string;\n}\n\nconst Field = React.forwardRef(\n ({ className, label, description, error, ...props }, ref) => (\n \n ),\n);\nField.displayName = \"Field\";\n\nexport { Field };\n", "type": "registry:ui" } ], "type": "registry:ui" }