Stat
IzzyBlazor.Stat in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.17 assembly
and its doc comments.
Properties (10)
Labelstring?What the figure is, such as "Revenue".
Valuestring?The figure, such as "$48,210". Format it the way it should read.
ChildContentRenderFragment?Custom value content, such as a number with a unit in smaller text. Replaces Value.
Changestring?How much it changed, such as "12%" or "+340".
ChangeStatusStatus?The change's color. By default up is Status.Success, down is Status.Danger and flat is neutral; set it when down is good, such as for costs or response times.
TrendLabelstring? (computed)Read before the change in place of the arrow. Defaults to "Up", "Down" or "No change".
Descriptionstring?A muted note after the change, such as "vs last month".
IconIconData?An icon in a tinted square at the end.
SizeControlSize = ControlSize.MdText size. Defaults to ControlSize.Md.
Plus 16 item props and 4 common props.
Show them hereEvents (0)
No events.
Types (3)
ControlSize
enumThe height of interactive controls. Shared by buttons and form fields, so a button and an input of the same size line up in a row.
| Value | Description |
|---|---|
Sm | 32px tall, small text. |
Md | 36px tall (the default). |
Lg | 44px tall, large text. For touch-first and marketing pages. |
StatTrend
enumWhich way a Stat's figure moved.
| Value | Description |
|---|---|
None | No arrow (the default). |
Up | Went up. Shown in the success color unless the stat's |
Down | Went down. Shown in the danger color unless the stat's |
Flat | Stayed the same. |
Status
enumThe meaning of a piece of feedback: badges, and later alerts and toasts. Status colors are for telling people what happened, not for actions; see Accent.
| Value | Description |
|---|---|
Neutral | No particular meaning (the default). |
Info | Information, such as "New" or "Beta". |
Success | Done or healthy, such as "Published". |
Warning | Needs attention, such as "In review" or "Expiring". |
Danger | Failed or blocked, such as "Error" or "Overdue". |