Skip to content
Donut card, light
Light
Donut card, dark
Dark

Every state

  • Donut card, default, light
    Donut card, default, dark

    default

  • Donut card, hover, light
    Donut card, hover, dark

    hover

  • Donut card, focus, light
    Donut card, focus, dark

    focus

  • Donut card, inspect, light
    Donut card, inspect, dark

    inspect

  • Donut card, two-parts, light
    Donut card, two-parts, dark

    two-parts

Props

PropTypeDefaultWhat it does
titlestring"Where visits come from"Title text.
subtitlestring | null"November, 48,210 visits"Line under the title. Null or left out: none.
partsChartCardDonutPart[][ { label: "Search", value: 21340 }, { label: "Direct", value: 11870 }, { label: "Newsletter", value: 7920 }, { label…The parts, biggest first reads best. Up to five get their own colour; more share the last.
totalLabelstring"visits"Word under the total in the middle ("visits").
formatIntl.NumberFormatOptions{ maximumFractionDigits: 0 }Format.
localestring"en-IE"Locale for numbers and dates.
defaultActivenumber | nullnullThe part that starts lifted (index). Left out: none, the total shows.
classNamestring–Extra classes on the outer element.

More chart cards

All 8
chart-card-04 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans