<wa-format-number>
Formats a number for display using the specified locale and options, including currency, percent, and unit styles. Powered by the Intl.NumberFormat API.
Category
Data
Built with
Lit
Library
Web Awesome
Author
Web Awesome
Package
@awesome.me/webawesome
Component size
3.5 kB JS (minified + gzipped, JS includes dependencies beyond the library)
Library size
8.2 kB JS (shared by every Web Awesome component, loaded once per page)
Popular
5 out of 5
Downloads
364,100/week · jsDelivr 33,855,650 hits/month (whole @awesome.me/webawesome package)
GitHub stars
1,348
Latest stable version
3.14.0
Last published
Sep 24, 2026
Component last changed
Oct 28, 2025 (in 3.0.0)
License
MIT
Status
stable
Attributes
valuetypewithout-groupingcurrencycurrency-displayminimum-integer-digitsminimum-fraction-digitsmaximum-fraction-digitsminimum-significant-digitsmaximum-significant-digitsdirlangdid-ssr