Skip to content

Panel ​

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

Preview ​

Open in the playground

Usage ​

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

<template>
  <FzPanel title="Workspace"
    ><p>Compose your interface here.</p></FzPanel
  >
</template>
TypeScript exampleSource you can use.

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

Props ​

NameTypeRequiredDefault
titlestring | undefinedNoNone
eyebrowstring | undefinedNoNone

Events and state ​

presentational

Slots ​

default, action, footer

Add from source ​

sh
forza add panel

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

Released under the MIT License. Independent work.