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

Relationship Graph

Source Code

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