PopoverWithForm() — ui Function Reference
Architecture documentation for the PopoverWithForm() function in popover-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 71509007_f792_fb79_0714_1992f87f2c4e["PopoverWithForm()"] 77b374ed_0d6d_ff09_1f6b_36c4bd1d2249["popover-example.tsx"] 71509007_f792_fb79_0714_1992f87f2c4e -->|defined in| 77b374ed_0d6d_ff09_1f6b_36c4bd1d2249 style 71509007_f792_fb79_0714_1992f87f2c4e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/popover-example.tsx lines 98–130
function PopoverWithForm() {
return (
<Example title="With Form">
<Popover>
<PopoverTrigger render={<Button variant="outline" />}>
Open Popover
</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/base/examples/popover-example.tsx.
Where is PopoverWithForm() defined?
PopoverWithForm() is defined in apps/v4/registry/bases/base/examples/popover-example.tsx at line 98.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free