Skip to content
Nuvyntra Labs

Patterns

NVStatCard

NVStatCard XAML, every kit attribute, and what each attribute does. NVStatCard in the Patterns layer.

About

NVStatCard in the Patterns layer.

Related: NVCurrencyLabel, NVPriceTag, NVCountdown, NVQuote, NVCodeBlock, NVBulletList.

XAML with every attribute

Namespace xmlns:nv="http://nuvyntralabs.com/uikit". Kit attributes first, then inherited MAUI VisualElement / View members. Framework properties are the same on every NV* view and are not repeated in the official control reference.

xmlns:nv="http://nuvyntralabs.com/uikit"

<nv:NVStatCard
    Amount="0"
    Seconds="0"
    Text="{x:Null}"
    Code="{x:Null}"
    Items="{x:Null}"
    Label="custom pair"
    Value="custom pair"
    on="custom pair"
    NVStatCard="custom pair"
    IsVisible="True"
    IsEnabled="True"
    Margin="0"
    HorizontalOptions="Fill"
    VerticalOptions="Fill"
    BindingContext="{Binding}" />

Attributes

custom names are Lumina API. Unmarked names match familiar MAUI / forms usage.

AttributeTypeDefaultKindExplanation
AmountdoublecustomcustomCurrency amount.
SecondsintcustomcustomCountdown remaining seconds.
TextobjectfamiliarVisible copy on the control — label, button caption, banner, or body.
CodeobjectfamiliarEntered PIN, OTP, or ticket code.
ItemsobjectfamiliarString or typed list the control presents.
Labelstringcustom paircustompair
Valuestringcustom paircustompair
onstringcustom paircustompair
NVStatCardstringcustom paircustompair

Inherited MAUI attributes

Every NV* view also inherits MAUI ContentView / VisualElement members. Those are framework properties.

AttributeTypeDefaultExplanation
IsVisiblebooltrueMAUI VisualElement. Hide the control without removing it from the tree.
IsEnabledbooltrueMAUI VisualElement. When false, the control ignores input and uses the Disabled visual state.
MarginThickness0MAUI View. Outer gap around the control. Use NVTokens.Space* for Lumina rhythm.
HorizontalOptionsLayoutOptionsFillMAUI View. Horizontal alignment in the parent (Start, Center, End, Fill).
VerticalOptionsLayoutOptionsFillMAUI View. Vertical alignment in the parent.
BindingContextobject?inheritedMAUI BindableObject. Source for {Binding …} paths on this subtree.

Typical usage

Short sample from the official control reference — not every attribute.

<nv:NVCurrencyLabel Amount="42" />
<nv:NVCountdown Seconds="90" />
<nv:NVQuote Text="Warm paper." />
<nv:NVCodeBlock Code="UseNuvyntraUIKit();" />
<nv:NVStatCard Label="Orders" Value="128" />

Discussion

Comment on UIKit(MAUI). The thread lives on this component's GitHub repository (nuvyntralabs/NuvyntraLabs.UIKit). Sign in with GitHub — Giscus uses Discussions, Utterances uses Issues.