MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / FieldSet

Function FieldSet

src/components/ui/field.tsx:10–22  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"fieldset">)

Source from the content-addressed store, hash-verified

8import { Separator } from "@/components/ui/separator"
9
10function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">) {
11 return (
12 <fieldset
13 data-slot="field-set"
14 className={cn(
15 "flex flex-col gap-6",
16 "has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",
17 className
18 )}
19 {...props}
20 />
21 )
22}
23
24function FieldLegend({
25 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected