Format number

Locale-aware number, currency and compact formatting via Intl.NumberFormat.

Formatters, copy/export, JSON viewer, dividers, and helpers.

lr-format-number

import '@aceshooting/lyra-ui/components/lr-format-number.js';

Read guide (English)

Related components

  • 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
  • Mention popover — Caret-anchored autocomplete for @-mentions and slash-commands in a text field.
  • Poll status — Countdown to the next scheduled refresh with a built-in pause and resume control.