field-input.json — ui Source File
Architecture documentation for field-input.json, a json file in the ui codebase.
Entity Profile
Source Code
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "field-input",
"type": "registry:example",
"registryDependencies": [
"field"
],
"files": [
{
"path": "registry/new-york-v4/examples/field-input.tsx",
"content": "import {\n Field,\n FieldDescription,\n FieldGroup,\n FieldLabel,\n FieldSet,\n} from \"@/registry/new-york-v4/ui/field\"\nimport { Input } from \"@/registry/new-york-v4/ui/input\"\n\nexport default function FieldInput() {\n return (\n <div className=\"w-full max-w-md\">\n <FieldSet>\n <FieldGroup>\n <Field>\n <FieldLabel htmlFor=\"username\">Username</FieldLabel>\n <Input id=\"username\" type=\"text\" placeholder=\"Max Leiter\" />\n <FieldDescription>\n Choose a unique username for your account.\n </FieldDescription>\n </Field>\n <Field>\n <FieldLabel htmlFor=\"password\">Password</FieldLabel>\n <FieldDescription>\n Must be at least 8 characters long.\n </FieldDescription>\n <Input id=\"password\" type=\"password\" placeholder=\"••••••••\" />\n </Field>\n </FieldGroup>\n </FieldSet>\n </div>\n )\n}\n",
"type": "registry:example"
}
]
}
Source
Frequently Asked Questions
What does field-input.json do?
field-input.json is a source file in the ui codebase, written in json.
Where is field-input.json in the architecture?
field-input.json is located at deprecated/www/public/r/styles/new-york-v4/field-input.json (directory: deprecated/www/public/r/styles/new-york-v4).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free