X Enterprises
Card

CardKpiSimple

Compact KPI card with currency formatting, trend indicator, and optional budget progress bar.

CardKpiSimple

Compact prop-based KPI card with automatic currency formatting, an optional trend indicator, and a budget progress bar.

Component

<XACardKpiSimple />

Compact KPI card with automatic currency formatting, an optional trend indicator, and a budget progress bar.

<XACardKpiSimple
  label="Actual Spend"
  :value="63000"
  :trend="-4"
  :budget="80000"
  show-percentage
  color="#10b981"
/>

Props

PropTypeDefaultDescription
labelstringRequired. KPI label.
valuestring | numberRequired. KPI value (numbers are formatted as currency).
trendnumber | nullundefinedPercentage change.
colorstring'#3b82f6'Dot accent color.
showPercentagebooleanfalseShow a progress bar as % of budget.
budgetnumber0Budget cap used to calculate the progress bar.

AI Context

component: XACardKpiSimple
package: "@xenterprises/nuxt-x-app"
use-when: Displaying a quick currency-formatted KPI card with trend and budget progress bar. For custom chart or markup inside a KPI card use XACardKpi instead.
Copyright © 2026