Provides on-demand contextual information about elements or events.
Adds the specified classes to the root element of the component.
Type: String
Required: No
Adds an
aria-label
to the dismiss button for accessibility.
Type: String
Required: No
Determines whether the dismiss button is shown in the popover body.
Type: Boolean
Default: true
Valid values: true | false
Required: No
Expands the popover body to its maximum width regardless of content. For example, use it when you need to place a column layout in the popover content.
Type: Boolean
Default: false
Valid values: true | false
Required: No
Specifies optional header text for the popover.
Type: String
Required: No
Adds the specified ID to the root element of the component.
Type: String
Required: No
Determines where the popover is displayed when opened, relative to the trigger. If the popover doesn't have enough space to open in this direction, it automatically chooses a better direction based on available space.
Type: String
Default: "right"
Valid values: top | right | bottom | left
Required: No
By default, the popover is constrained to fit inside its parent stacking context. Enabling this property will allow the popover to be rendered in the root stack context using React Portals. Enable this setting if you need the popover to ignore its parent stacking context, such as in side navigation. Note: Using popover rendered with portal within a Modal is not supported.
Type: Boolean
Default: false
Valid values: true | false
Required: No
Determines the maximum width for the popover.
Type: String
Default: "medium"
Valid values: small | medium | large
Required: No
Specifies the type of content inside the trigger region. The following types are available:
text
- Use for inline text triggers.custom
- Use for the button component.
Type: String
Default: "text"
Valid values: text | custom
Required: No
Element that triggers the popover when selected by the user.
Content of the popover.
The documentation is made available under the Creative Commons Attribution-ShareAlike 4.0 International License. See the LICENSE file.