# `PhoenixKitProjects.Web.Components.StatTile`
[🔗](https://github.com/BeamLabEU/phoenix_kit_projects/blob/v0.14.0/lib/phoenix_kit_projects/web/components/stat_tile.ex#L1)

Compact bordered card with a label and a big number. Used in
OverviewLive's top stats row (Running / Tasks in progress / Tasks
todo / Tasks done) and in the bottom navigation row.

Named `stat_tile` to avoid colliding with core's fancier
`PhoenixKitWeb.Components.Core.StatCard.stat_card/1` (which takes
title + subtitle + icon + color and renders a much larger card).
This one is the minimum-chrome variant.

## Example

    <.stat_tile label="Running" value={@active_count} />
    <.stat_tile label="Tasks in progress" value={@in_progress} value_class="text-warning" />

# `stat_tile`

## Attributes

* `label` (`:string`) (required)
* `value` (`:any`) (required)
* `value_class` (`:string`) - Defaults to `nil`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
