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
  8556ed78_71bd_a5ba_4cf7_dfd5245f9e84["FieldGroup()"]
  2fdb221e_c552_bb16_cfe7_db746ae11988["field.tsx"]
  8556ed78_71bd_a5ba_4cf7_dfd5245f9e84 -->|defined in| 2fdb221e_c552_bb16_cfe7_db746ae11988
  style 8556ed78_71bd_a5ba_4cf7_dfd5245f9e84 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui/field.tsx lines 40–51

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-5 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/examples/radix/ui/field.tsx.
Where is FieldGroup() defined?
FieldGroup() is defined in apps/v4/examples/radix/ui/field.tsx at line 40.

Analyze Your Own Codebase

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

Try Supermodel Free