What this family solves
Compact KPI tile synced from the V2 Stat Tile Figma component, with tone treatments, optional trend metadata, and shared React/Vue adapter contracts.
Marwes documentation
Compact KPI tile synced from the V2 Stat Tile Figma component, with tone treatments, optional trend metadata, and shared React/Vue adapter contracts.
Compact KPI tile synced from the V2 Stat Tile Figma component, with tone treatments, optional trend metadata, and shared React/Vue adapter contracts.
Use StatTile for a single key metric with an optional trend direction and semantic tone.
Single labeled metric with an optional trend and semantic tone
Choose an adapter in the verified examples. The inventory below reflects each framework package exactly.
@marwes-ui/reactStatTile
StatTileProps
@marwes-ui/vueStatTile
StatTileProps
@marwes-ui/svelteStatTile
StatTileProps
These examples come from the same fixtures verified by the repository checks.
import { StatTile } from "@marwes-ui/react"
export function Example() {
return (
<StatTile
label="Monthly revenue"
value="$24,800"
subtitle="Compared with last month"
trendValue="12%"
trendDirection="positive"
tone="success"
/>
)
}<script setup lang="ts">
import { StatTile } from "@marwes-ui/vue"
</script>
<template>
<StatTile
label="Monthly revenue"
value="$24,800"
subtitle="Compared with last month"
trend-value="12%"
trend-direction="positive"
tone="success"
/>
</template><script lang="ts">
import { StatTile } from "@marwes-ui/svelte"
</script>
<StatTile
label="Monthly revenue"
value="$24,800"
subtitle="Compared with last month"
trendValue="12%"
trendDirection="positive"
tone="success"
/>Stat Tile uses Marwes preset CSS and theme variables. Customize it through the theme passed to MarwesProvider; do not add a second component stylesheet. See the theming guide for configuration and token details.