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
  a6e35b10_8f23_00d1_4c1b_c1b538b0ea74["FieldSet()"]
  551006c1_8fb3_87d2_d53f_b127c9fc48a9["field.tsx"]
  a6e35b10_8f23_00d1_4c1b_c1b538b0ea74 -->|defined in| 551006c1_8fb3_87d2_d53f_b127c9fc48a9
  style a6e35b10_8f23_00d1_4c1b_c1b538b0ea74 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui/field.tsx lines 9–20

function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">) {
  return (
    <fieldset
      data-slot="field-set"
      className={cn(
        "flex flex-col gap-4 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/examples/base/ui/field.tsx.
Where is FieldSet() defined?
FieldSet() is defined in apps/v4/examples/base/ui/field.tsx at line 9.

Analyze Your Own Codebase

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

Try Supermodel Free