$0total
The total counts up while the donut draws one slice after another, each legend row sliding in as its arc lands.
The import and the props worth knowing about, in one place.
import { Dashboard34 } from "@/components/beste/piece/dashboard34";
<Dashboard34
title="Revenue by plan"
totalLabel="total"
prefix="$"
slices={[
{
"label": "Enterprise",
"value": 61200,
"tone": "primary"
},
{
"label": "Pro",
"value": 38400,
"tone": "sky"
},
{
"label": "Starter",
"value": 17900,
"tone": "violet"
},
{
"label": "Add-ons",
"value": 8300,
"tone": "emerald"
}
]}
bordered={false}
/>