Dashboard metric card component.
Summary
Functions
Renders a metric card.
Functions
Renders a metric card.
Attributes
:title- The metric title:value- The metric value:subtitle- Optional subtitle text:trend- Optional trend indicator (:up, :down, :neutral):trend_value- Optional trend percentage/value
Attributes
title(:string) (required)value(:any) (required)subtitle(:string) - Defaults tonil.trend(:atom) - Defaults tonil.trend_value(:string) - Defaults tonil.class(:string) - Defaults tonil.href(:string) - Defaults tonil.