field-select.json — ui Source File
Architecture documentation for field-select.json, a json file in the ui codebase.
Entity Profile
Source Code
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "field-select",
"registryDependencies": [
"field"
],
"files": [
{
"path": "registry/new-york-v4/examples/field-select.tsx",
"content": "import {\n Field,\n FieldDescription,\n FieldLabel,\n} from \"@/registry/new-york-v4/ui/field\"\nimport {\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from \"@/registry/new-york-v4/ui/select\"\n\nexport default function FieldSelect() {\n return (\n <div className=\"w-full max-w-md\">\n <Field>\n <FieldLabel>Department</FieldLabel>\n <Select>\n <SelectTrigger>\n <SelectValue placeholder=\"Choose department\" />\n </SelectTrigger>\n <SelectContent>\n <SelectItem value=\"engineering\">Engineering</SelectItem>\n <SelectItem value=\"design\">Design</SelectItem>\n <SelectItem value=\"marketing\">Marketing</SelectItem>\n <SelectItem value=\"sales\">Sales</SelectItem>\n <SelectItem value=\"support\">Customer Support</SelectItem>\n <SelectItem value=\"hr\">Human Resources</SelectItem>\n <SelectItem value=\"finance\">Finance</SelectItem>\n <SelectItem value=\"operations\">Operations</SelectItem>\n </SelectContent>\n </Select>\n <FieldDescription>\n Select your department or area of work.\n </FieldDescription>\n </Field>\n </div>\n )\n}\n",
"type": "registry:example"
}
],
"type": "registry:example"
}
Source
Frequently Asked Questions
What does field-select.json do?
field-select.json is a source file in the ui codebase, written in json.
Where is field-select.json in the architecture?
field-select.json is located at apps/v4/public/r/styles/new-york-v4/field-select.json (directory: apps/v4/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