Skip to main content

StageNumbers

caution

This component is intended to be used as a direct child of the Stage component.
The Stage component must be set with its stageVariant prop set to numbers.
The StageNumbers component is not meant to be used as a standalone component. Using it as a such may result in unexpected behaviours.

StageNumbers component is used to display a list of numbers with a description.

Import

// with @dhl-official/react-library:
import { DhlStageNumbers } from "@dhl-official/react-library"
// with @dhl-official/ui-libraries/react-library:
import { DhlStageNumbers } from "@dhl-official/ui-libraries/react-library"

Code

<DhlStageNumbers numbersData={[
{
"number": "50%",
"text": "Increase our carbon efficiency"
},
{
"number": "70%",
"text": "Reduce local air pollution emissions"
},
{
"number": "50%",
"text": "Sales incorporate Green Solutions"
},
{
"number": "80%",
"text": "Employees as GoGreen specialists"
}
]} />

Interactive Demo

Readme

Properties

PropertyAttributeDescriptionTypeDefault
numbersData--An REQUIRED prop to pass the data to be rendered{ number: string; text: string; }[]undefined

Dependencies

Depends on

Graph


Built by DHL User Interface Library Team!