field-group.json — ui Source File
Architecture documentation for field-group.json, a json file in the ui codebase.
Entity Profile
Source Code
{
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
"name": "field-group",
"registryDependencies": [
"field"
],
"files": [
{
"path": "registry/new-york-v4/examples/field-group.tsx",
"content": "import { Checkbox } from \"@/registry/new-york-v4/ui/checkbox\"\nimport {\n Field,\n FieldDescription,\n FieldGroup,\n FieldLabel,\n FieldSeparator,\n FieldSet,\n} from \"@/registry/new-york-v4/ui/field\"\n\nexport default function FieldGroupExample() {\n return (\n <div className=\"w-full max-w-md\">\n <FieldGroup>\n <FieldSet>\n <FieldLabel>Responses</FieldLabel>\n <FieldDescription>\n Get notified when ChatGPT responds to requests that take time, like\n research or image generation.\n </FieldDescription>\n <FieldGroup data-slot=\"checkbox-group\">\n <Field orientation=\"horizontal\">\n <Checkbox id=\"push\" defaultChecked disabled />\n <FieldLabel htmlFor=\"push\" className=\"font-normal\">\n Push notifications\n </FieldLabel>\n </Field>\n </FieldGroup>\n </FieldSet>\n <FieldSeparator />\n <FieldSet>\n <FieldLabel>Tasks</FieldLabel>\n <FieldDescription>\n Get notified when tasks you've created have updates.{\" \"}\n <a href=\"#\">Manage tasks</a>\n </FieldDescription>\n <FieldGroup data-slot=\"checkbox-group\">\n <Field orientation=\"horizontal\">\n <Checkbox id=\"push-tasks\" />\n <FieldLabel htmlFor=\"push-tasks\" className=\"font-normal\">\n Push notifications\n </FieldLabel>\n </Field>\n <Field orientation=\"horizontal\">\n <Checkbox id=\"email-tasks\" />\n <FieldLabel htmlFor=\"email-tasks\" className=\"font-normal\">\n Email notifications\n </FieldLabel>\n </Field>\n </FieldGroup>\n </FieldSet>\n </FieldGroup>\n </div>\n )\n}\n",
"type": "registry:example"
}
],
"type": "registry:example"
}
Source
Frequently Asked Questions
What does field-group.json do?
field-group.json is a source file in the ui codebase, written in json.
Where is field-group.json in the architecture?
field-group.json is located at apps/v4/public/r/styles/new-york-v4/field-group.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