Tokenomics

1 variant

Token distribution and vesting sections with linked, animated charts for launch pages and docs.

Distribution and unlocks

Supply stats that count up, an allocation donut with vesting terms, and a cumulative unlock chart that highlights whichever allocation you hover.

Token design

A supply built for the long run

Most tokens unlock gradually over four years, so the people building the network stay aligned with the people using it.

Total supply
1.0B MRD
Circulating at launch
13.5%
Fully vested after
48 months

Distribution

1B

Total supply · MRD

Unlock schedule

Cumulative supply unlocked each month, by allocation

100.0%

of supply unlocked by Month 48

1B MRD

"use client";

import { Tokenomics } from "@/components/premium/tokenomics";

export function TokenomicsPreview() {
  return <Tokenomics />;
}

Install

$ bunx --bun shadcn add @beui-pro/tokenomics-distribution

API Reference

Every prop is optional unless marked required. Data, copy, and colors default to the sample content.

Tokenomics7 props
  • allocations

    Supply allocations shown in the donut and unlock chart. Defaults to the sample allocations.

    readonly TokenAllocation[]
  • supply

    Total token supply, in whole tokens. Defaults to 1 billion.

    number

    Default 1000000000

  • symbol

    Token ticker shown next to supply figures.

    string

    Default MRD

  • stats

    Overrides the stats derived from the allocations.

    readonly TokenomicsStat[]
  • copy

    Text overrides merged over the default copy.

    Partial<TokenomicsCopy>
  • scheduleMonths

    Last month shown in the unlock chart.

    number

    Default 48

  • className

    Classes merged onto the root element.

    string
Types3 types

The object types these props take, field by field.

TokenAllocation8 fields
  • idRequired

    Unique key that links the donut arc, legend row, and chart series.

    string
  • labelRequired

    Allocation name shown in the legend, donut, and chart tooltip.

    string
  • percentRequired

    Share of total supply, in percent.

    number
  • tgeUnlockRequired

    Share of this allocation unlocked at launch, from 0 to 1.

    number
  • cliffMonthsRequired

    Months after launch before linear vesting starts.

    number
  • vestingMonthsRequired

    Months of linear vesting after the cliff. 0 unlocks the rest at the cliff.

    number
  • colorRequired

    Fill class such as `bg-blue-500`. The donut reads the matching `--color-*` variable, so use a Tailwind palette color.

    string
  • textRequired

    Text class used as the area color, such as `text-blue-500`.

    string
TokenomicsStat5 fields
  • labelRequired

    Stat name shown above the value.

    string
  • valueRequired

    Number the stat counts up to.

    number
  • prefix

    Text shown before the number, such as a currency sign.

    string
  • suffix

    Text shown after the number, such as a unit or percent sign.

    string
  • decimals

    Fraction digits shown for the value.

    number
TokenomicsCopy12 fields
  • eyebrowRequired

    Small pill label above the section title.

    string
  • titleRequired

    Section heading.

    string
  • descriptionRequired

    Paragraph under the section heading.

    string
  • distributionRequired

    Heading of the distribution donut card, also used in its label.

    string
  • scheduleRequired

    Heading of the unlock chart card, also used in its slider label.

    string
  • scheduleHintRequired

    Hint shown beside the unlock chart heading.

    string
  • cliffEndsRequired

    Label on the dashed lines that mark where cliffs end.

    string
  • totalSupplyRequired

    Label in the donut center, followed by the token symbol.

    string
  • unlockedRequired

    Word used in the unlocked-supply caption, shown in lowercase.

    string
  • atLaunchRequired

    Currently unused by the component.

    string
  • monthRequired

    Formats a month number for the caption, axis, and slider text.

    (month: number) => string
  • vestingRequired

    Builds the vesting summary shown for an allocation in the donut.

    (allocation: TokenAllocation) => string