{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "files": [
    {
      "content": "\"use client\";\n\nimport { MailIcon } from \"lucide-react\";\nimport { Field } from \"~/registry/ui/field\";\nimport { InputGroup } from \"~/registry/ui/input-group\";\nimport { TextField } from \"~/registry/ui/text-field\";\n\nexport function TextfieldWithIconDemo() {\n  return (\n    <Field.Root render={<TextField type=\"email\" />}>\n      <Field.Label>Email</Field.Label>\n      <InputGroup.Root>\n        <InputGroup.Addon>\n          <MailIcon className=\"size-4 text-muted-foreground\" />\n        </InputGroup.Addon>\n        <InputGroup.Input placeholder=\"john@example.com\" />\n      </InputGroup.Root>\n    </Field.Root>\n  );\n}\n",
      "path": "src/registry/examples/textfield/textfield-with-icon-demo.tsx",
      "type": "registry:example"
    }
  ],
  "name": "textfield-with-icon-demo",
  "registryDependencies": [
    "@kanpeki/textfield"
  ],
  "type": "registry:example"
}