import { Example, ExampleWrapper, } from "@/registry/bases/radix/components/example" import { Button } from "@/registry/bases/radix/ui/button" import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/registry/bases/radix/ui/dialog" import { Field, FieldGroup, FieldLabel } from "@/registry/bases/radix/ui/field" import { Input } from "@/registry/bases/radix/ui/input" import { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, } from "@/registry/bases/radix/ui/popover" export default function PopoverExample() { return ( ) } function PopoverBasic() { return ( Dimensions Set the dimensions for the layer. ) } function PopoverWithForm() { return ( Dimensions Set the dimensions for the layer. Width Height ) } function PopoverAlignments() { return (
Aligned to start Aligned to center Aligned to end
) } function PopoverInDialog() { return ( Popover Example Click the button below to see the popover. Popover in Dialog This popover appears inside a dialog. Click the button to open it. ) }