Cards

Website / Cards

StatCard

Highlights one metric or outcome.

Live example

24

Published projects

↑ 18% from last month

Interactive preview using local sample data. Styling is intentionally left to the consuming project.

Usage

// StatCard usage will be documented here.

Adopt to your project

This Website → Cards → StatCard component provides a neutral structural starting point. Adapt local visual presentation through documented props and className without changing its semantic purpose.

Accessibility

Describe trend direction in text, not color alone.

API reference

API focus
Value, label, trend, trend label, supporting context.

The preview uses safe local sample data. Check the exported TypeScript types before adapting it to project data.

Installation

Full library
pnpm install:project /absolute/path/to/your-project

Planned guided selection
Website → Cards → StatCard