Develop ultra fast with Prismane 🎉

Popover API

Learn about the Popover component's props and CSS classes.

Import

import {
  PopoverProps,
  PopoverPanelProps,
  PopoverControlProps,
} from "@prismane/core";

Props

Popover

Popover extends Paper component's props.

NameTypeDescriptionDefault
positionPrismanePositions Toggles the popover container's position.bottom

Popover.Control

Popover.Control extends Flex component's props.

Popover.Panel

Popover.Panel extends Animation and Paper components' props.

CSS

Popover extends Paper component's CSS classes.

RuleGlobal ClassDescription
root.PrismanePopover-rootThe container of the popover component.
root.PrismanePopover-root-{position}The container of the popover component based on it's position.

Popover.Control extends Flex component's CSS classes.

RuleGlobal ClassDescription
root.PrismanePopoverControl-rootThe container of the popover control component.

Popover.Panel extends Animation and Paper components' CSS classes.

RuleGlobal ClassDescription
root.PrismanePopoverPanel-rootThe container of the popover panel component.