cards
Popular
StatCard
A card for displaying numerical statistics and trends.
Frameworks:
Flutter
React Native
Expo
Interactive Preview
Rendered in high-fidelity native device frame
Interactive Live Sandbox
· Click elements inside device to testStatCard
v2.0
UI
Card Pattern
Mobile Native
Elevated surface with tactile feedback
View Detail
Test Touch Reaction0 taps
Apple iOS Human Interface
Code Implementation
Switch frameworks, copy code, or test in cloud sandbox
dart
1import 'package:flutter/material.dart';
2
3class StatCard extends StatelessWidget {
4 const StatCard({super.key});
5
6
7 Widget build(BuildContext context) {
8 return Container(
9 padding: const EdgeInsets.all(16),
10 child: const Text('StatCard Component'),
11 );
12 }
13}
14Component Properties
Configuration options and default values
| Prop | Type | Default | Description |
|---|---|---|---|
style | object | — | Custom styles. |
Related Components
Components frequently used alongside this pattern
SecondaryOutline
PrimaryButton
buttons
The main call to action button for your app.
SecondaryOutline
SecondaryButton
buttons
A subtle button for secondary actions.
SecondaryOutline
IconButton
buttons
A button that only contains an icon.
SecondaryOutline
FloatingActionButton
buttons
A prominent floating button for the primary screen action.