Format Byte
Used to format byte values with various options and units
File Size
120 kB
Usage
The byte formatting component extends the number formatting capabilities to handle byte-specific formatting, including automatic unit conversion and display options.
import { Format } from '@ark-ui/react'
Examples
Basic
Use the Format.Byte component to format a byte value with default options.
Example not foundExample not foundExample not foundExample not foundSizes
Use the sizes prop to specify custom byte sizes for formatting.
Example not foundExample not foundExample not foundExample not foundLocale
Use the locale prop to format the byte value according to a specific locale.
Example not foundExample not foundExample not foundExample not foundUnit
Use the unit prop to specify the unit of the byte value.
Example not foundExample not foundExample not foundExample not foundUnit Display
Use the unitDisplay prop to specify the display of the unit.
Example not foundExample not foundExample not foundExample not found