Components
Popover
A floating panel for contextual information or actions.
Loading...
Installation
NPM packages are currently unstable and may cause issues. Use it at your own risk.
npm install @mijn-ui/react-popoverUsage
import { Popover, PopoverContent, PopoverTrigger } from "@mijn-ui/react-popover"<Popover>
<PopoverTrigger>Open</PopoverTrigger>
<PopoverContent>Place content for the popover here.</PopoverContent>
</Popover>Popover Style Slots
| Slot Name | Targeted Component | Purpose |
|---|---|---|
base | Popover | Styles the root popover component. |
trigger | PopoverTrigger | Styles the trigger for opening the popover. |
close | PopoverClose | Styles the close button within the popover. |
content | PopoverContent | Styles the popover content. |