MCPcopy Create free account
hub / github.com/arctic-cli/interface / Field

Function Field

packages/web/components/ui/field.tsx:7–15  ·  view source on GitHub ↗
({ className, ...props }: FieldPrimitive.Root.Props)

Source from the content-addressed store, hash-verified

5import { cn } from "@/lib/utils";
6
7function Field({ className, ...props }: FieldPrimitive.Root.Props) {
8 return (
9 <FieldPrimitive.Root
10 className={cn("flex flex-col items-start gap-2", className)}
11 data-slot="field"
12 {...props}
13 />
14 );
15}
16
17function FieldLabel({ className, ...props }: FieldPrimitive.Label.Props) {
18 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected