Astro components
Stats widget
A widget displaying statistical metrics.
A visual component displaying a set of fake statistics (Revenue growth, Time saved, etc.) with charts.
Usage
---
import StatsWidget from '@/components/StatsWidget.astro';
---
<StatsWidget />Props
| Prop | Type | Default | Description |
|---|---|---|---|
class | string | - | Additional CSS classes. |
...props | HTMLAttributes<'div'> | - | Any other attributes passed to the container. |