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

Relationship Graph

Source Code

deprecated/www/registry/new-york/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 deprecated/www/registry/new-york/ui/field.tsx.
Where is FieldGroup() defined?
FieldGroup() is defined in deprecated/www/registry/new-york/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