Skip to content

Popover ​

State belongs to the parent. Compose this component with the props and slots below.

Preview ​

Open in the playground

Usage ​

PopoverExample.vueVue / TS
<script setup lang="ts">
import { FzPopover } from '@chrisdalbano/forza-ui'
</script>

<template>
  <FzPopover label="Build details">Three items selected.</FzPopover>
</template>
TypeScript exampleSource you can use.

Import the shared stylesheet once and wrap your app in .fz-theme. See installation.

Props ​

NameTypeRequiredDefault
labelstringYesNone
openboolean | undefinedNofalse

Events and state ​

v-model:open

  • update:open: [value: boolean]

Slots ​

trigger, default({close})

Add from source ​

sh
forza add popover

Set up the CLI first. Generated API tables come from the Vue source, using Vue Language Tools.

Released under the MIT License. Independent work.