Leave Yamada UI a star

Star
Yamada UIYamada UIv1.7.2

FormatByte

FormatByte is a component that formats byte values into human-readable strings with appropriate units.

Source@yamada-ui/format

Props

FormatByteProps

value

Required

Description

The byte size to format

Type

number

locale

Description

The locale string to use for formatting.

Type

string

Default

'en-US'

unit

Description

The unit granularity to display

Type

"bit" | "byte"

unitDisplay

Description

The unit display

Type

"long" | "narrow" | "short"

Edit this page on GitHub

PreviousVisuallyHiddenNextFormatNumber