MDK Logo

Compose EBITDA layouts

Building blocks behind the Ebitda reporting composite — assemble a custom EBITDA layout from the same parts.

@tetherto/mdk-react-devkit/foundation

The Ebitda composite renders a fixed EBITDA layout (metric row plus chart panel). To build a custom arrangement, compose it from the building blocks below — each takes pre-shaped data as props and does no fetching.

Building blocks

ComponentDescription
EbitdaMetricsTop row of EBITDA summary metric cards
EbitdaChartsRevenue, cost, and EBITDA chart panel
ActualEbitdaCardRealised EBITDA stat card vs prior period
EbitdaHodlCardProjected EBITDA if all BTC is held
EbitdaSellingCardProjected EBITDA if all BTC is sold
MonthlyEbitdaChartEBITDA-by-month trend bar chart
BitcoinPriceCardBTC reference-price stat card
BitcoinProducedCardBitcoin-produced stat card with prior-period delta
BitcoinProducedChartDaily bitcoin-produced time-series chart
BitcoinProductionCostCardAvg USD cost to produce one bitcoin

EbitdaMetrics

Row of summary metric cards across the top of the EBITDA section (actual, hodl, selling, cost). Building block of the Ebitda composite.

import { EbitdaMetrics } from '@tetherto/mdk-react-devkit/foundation'

Renders inside the Ebitda composite.

EbitdaCharts

Chart panel inside the EBITDA section visualising revenue, cost, and EBITDA over time. Building block of the Ebitda composite.

import { EbitdaCharts } from '@tetherto/mdk-react-devkit/foundation'

Renders inside the Ebitda composite.

ActualEbitdaCard

Stat card summarising the realised EBITDA for the selected reporting window vs the prior period. Building block of the Ebitda composite.

import { ActualEbitdaCard } from '@tetherto/mdk-react-devkit/foundation'

Renders inside the EbitdaMetrics row.

EbitdaHodlCard

Stat card projecting EBITDA assuming all produced bitcoin is held instead of sold. Building block of the Ebitda composite.

import { EbitdaHodlCard } from '@tetherto/mdk-react-devkit/foundation'

Renders inside the EbitdaMetrics row.

EbitdaSellingCard

Stat card projecting EBITDA assuming all produced bitcoin is sold at the daily reference price. Building block of the Ebitda composite.

import { EbitdaSellingCard } from '@tetherto/mdk-react-devkit/foundation'

Renders inside the EbitdaMetrics row.

MonthlyEbitdaChart

Bar chart comparing EBITDA across the most recent months for trend visualisation. Building block of the Ebitda composite.

import { MonthlyEbitdaChart } from '@tetherto/mdk-react-devkit/foundation'

Renders inside the EbitdaCharts panel.

BitcoinPriceCard

Stat card showing the BTC reference price used by the reporting view with currency and timestamp. Building block of the Ebitda composite.

import { BitcoinPriceCard } from '@tetherto/mdk-react-devkit/foundation'

Renders inside the Ebitda composite.

BitcoinProducedCard

Stat card summarising the bitcoin produced during the reporting window with delta to prior period. Building block of the Ebitda composite.

import { BitcoinProducedCard } from '@tetherto/mdk-react-devkit/foundation'

Renders inside the Ebitda composite.

BitcoinProducedChart

Time-series chart of bitcoin produced per day across the selected reporting window. Building block of the Ebitda composite.

import { BitcoinProducedChart } from '@tetherto/mdk-react-devkit/foundation'

Renders inside the Ebitda composite.

BitcoinProductionCostCard

Stat card showing the average cost in USD to produce one bitcoin during the reporting window. Building block of the Ebitda composite.

import { BitcoinProductionCostCard } from '@tetherto/mdk-react-devkit/foundation'

Renders inside the Ebitda composite.

On this page