Format bytes
Locale-aware byte-size formatting with an adjustable unit step and precision.
Formatters, copy/export, JSON viewer, dividers, and helpers.
lr-format-bytes
import '@aceshooting/lyra-ui/components/lr-format-bytes.js';Related components
- Format date — Locale-aware date and time formatting via Intl.DateTimeFormat.
- Format number — Locale-aware number, currency and compact formatting via Intl.NumberFormat.
- Icon — Renders crisp inline SVG glyphs from a built-in named path set with zero dependencies.
- JSON viewer — Collapsible, copyable tree view for inspecting any JSON payload
- Known date — Three-field day/month/year input for a date the user already knows
- Live region — Visually-hidden ARIA live region that throttles screen-reader announcements