Displays rich content in a portal, triggered by a button.
Installation
Usage
<Popover>
<PopoverTrigger>
<Render>
<Button @attributes="context.Attributes" Variant="ButtonVariant.Outline">Open Popover</Button>
</Render>
</PopoverTrigger>
<PopoverContent>
<PopoverHeader>
<PopoverTitle>Title</PopoverTitle>
<PopoverDescription>Description text here.</PopoverDescription>
</PopoverHeader>
</PopoverContent>
</Popover>Composition
Use the following composition to build a Popover:
Popover
├── PopoverTrigger
└── PopoverContentBasic
A simple popover with a header, title, and description.
Align
Use the Align parameter on PopoverContent to control the horizontal alignment.
With Form
A popover with form fields inside.
RTL
To enable RTL support in Blazix, see the RTL configuration guide.
Translated with AI for the demo, so it may have mistakes.
API Reference
Popover
PopoverContent
Other attributes are passed to the element it renders.
PopoverDescription
Other attributes are passed to the element it renders.
PopoverHeader
Other attributes are passed to the element it renders.
PopoverTitle
Other attributes are passed to the element it renders.
PopoverTrigger
Other attributes are passed to the element it renders.