PopoverWithForm() — ui Function Reference
Architecture documentation for the PopoverWithForm() function in popover-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 5e0f9281_ebdb_c956_a18e_7354aaf5aed0["PopoverWithForm()"] ba5103c9_16f7_f62b_8fc8_38f5eb05894d["popover-example.tsx"] 5e0f9281_ebdb_c956_a18e_7354aaf5aed0 -->|defined in| ba5103c9_16f7_f62b_8fc8_38f5eb05894d style 5e0f9281_ebdb_c956_a18e_7354aaf5aed0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/radix/examples/popover-example.tsx lines 56–88
function PopoverWithForm() {
return (
<Example title="With Form">
<Popover>
<PopoverTrigger asChild>
<Button variant="outline">Open Popover</Button>
</PopoverTrigger>
<PopoverContent className="w-64" align="start">
<PopoverHeader>
<PopoverTitle>Dimensions</PopoverTitle>
<PopoverDescription>
Set the dimensions for the layer.
</PopoverDescription>
</PopoverHeader>
<FieldGroup className="gap-4">
<Field orientation="horizontal">
<FieldLabel htmlFor="width" className="w-1/2">
Width
</FieldLabel>
<Input id="width" defaultValue="100%" />
</Field>
<Field orientation="horizontal">
<FieldLabel htmlFor="height" className="w-1/2">
Height
</FieldLabel>
<Input id="height" defaultValue="25px" />
</Field>
</FieldGroup>
</PopoverContent>
</Popover>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does PopoverWithForm() do?
PopoverWithForm() is a function in the ui codebase, defined in apps/v4/registry/bases/radix/examples/popover-example.tsx.
Where is PopoverWithForm() defined?
PopoverWithForm() is defined in apps/v4/registry/bases/radix/examples/popover-example.tsx at line 56.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free