Stat
State belongs to the parent. Compose this component with the props and slots below.
Preview
Usage
<script setup lang="ts">
import { FzStat } from '@chrisdalbano/forza-ui'
</script>
<template>
<FzStat value="3,200" label="Gold budget" />
</template>Import the shared stylesheet once and wrap your app in .fz-theme. See installation.
Props
| Name | Type | Required | Default |
|---|---|---|---|
label | string | Yes | None |
value | string | Yes | None |
detail | string | undefined | No | None |
Events and state
presentational
Slots
none
Add from source
sh
forza add statSet up the CLI first. Generated API tables come from the Vue source, using Vue Language Tools.