Skip to main content

PopoverSurface

Function PopoverSurface 

Source
pub fn PopoverSurface(props: PopoverSurfaceProps) -> impl IntoView
Expand description

§Required Props

  • children: [Children]
    • Body content — typically a MenuList.

§Optional Props

  • placement: PopoverPlacement
    • Where the popover should anchor — drives a popover-<placement> class but no positioning math.
  • width_px: u16
    • Width in CSS pixels. None lets content size itself.
  • title: impl Into<String>
    • Optional title rendered above the content with a small subtitle.
  • description: impl Into<String>
    • Optional description under the title.
  • footer: [Children]
    • Optional bottom footer — primary action button or hint text.