Home / Function/ FieldSet() — ui Function Reference

FieldSet() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/new-york-v4/ui/field.tsx lines 10–22

function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">) {
  return (
    <fieldset
      data-slot="field-set"
      className={cn(
        "flex flex-col gap-6",
        "has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",
        className
      )}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free