Files
ui/docs/content/6.overlays/3.popover.md
2023-10-12 12:30:58 +02:00

1005 B

description, links
description links
Display a non-modal dialog that floats around a trigger element.
label icon to
GitHub i-simple-icons-github https://github.com/nuxt/ui/blob/dev/src/runtime/components/overlays/Popover.vue
label icon to
Popover i-simple-icons-headlessui https://headlessui.com/vue/popover

Usage

:component-example{component="popover-example"}

Mode

Use the mode prop to switch between click and hover modes.

:component-example{component="popover-example-mode"}

Manual :u-badge

Use the open prop to manually control showing the panel.

:component-example{component="popover-example-open"}

Slots

panel

Use the #panel slot to fill the content of the panel. You will have access to the open property and the close method in the slot scope.

:component-example{component="popover-example-slot"}

Props

:component-props

Preset

:component-preset