Home / Function/ FieldGroup() — ui Function Reference

FieldGroup() — ui Function Reference

Architecture documentation for the FieldGroup() function in field.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  3f6ac369_9d6f_91dc_a1a9_386810d5c749["FieldGroup()"]
  56c854de_a6cd_224b_acad_3c45826d8f94["field.tsx"]
  3f6ac369_9d6f_91dc_a1a9_386810d5c749 -->|defined in| 56c854de_a6cd_224b_acad_3c45826d8f94
  style 3f6ac369_9d6f_91dc_a1a9_386810d5c749 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/field.tsx lines 44–55

function FieldGroup({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="field-group"
      className={cn(
        "group/field-group @container/field-group flex w-full flex-col gap-7 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does FieldGroup() do?
FieldGroup() is a function in the ui codebase, defined in apps/v4/registry/new-york-v4/ui/field.tsx.
Where is FieldGroup() defined?
FieldGroup() is defined in apps/v4/registry/new-york-v4/ui/field.tsx at line 44.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free