value
RequiredDescription
The byte size to format
Type
number
Leave Yamada UI a star
StarFormatByte
is a component that formats byte values into human-readable strings with appropriate units.
Description
The byte size to format
Type
number
Description
The locale string to use for formatting.
Type
string
Default
'en-US'
Description
The unit granularity to display
Type
"bit" | "byte"
Description
The unit display
Type
"long" | "narrow" | "short"
Edit this page on GitHub