Skip to main content

Meter

Components

Meter()

Meter(props, context?): ReactNode

A Meter component enables you to include a meter in the shape of a bar or circle in your app quickly.

Parameters

ParameterType
propsMeterProps
context?any

Returns

ReactNode

Example

    <Meter size={400} thickness={5} value={60} type="bar" />

Source

libs/design-system-core/src/components/Meter/index.tsx:38

Props

MeterProps

MeterProps: PropsWithChildren<object>

Type declaration

MemberType
backgroundColor
customStylestring
direction"horizontal" | "vertical"
maxnumber
progressBgColor
sizenumber
thicknessnumber
type"circle" | "bar"
valuenumber

Source

libs/design-system-core/src/components/Meter/index.tsx:8