@i18n-components/input-number
Web component to format input number based on locale.
Usage Vanilla Javascript HTML
<!DOCTYPE html>
<html>
<head>
<title>Input Number</title>
<meta charset="UTF-8" />
</head>
<body>
<script src="https://unpkg.com/@i18n-components/input-number@latest/dist/index.js"></script>
<input type="tel" is="i18n-input-number" />
</body>
</html>
Usage React/Angular/Vue
npm i @i18n-components/input-number
// Import IIFE
import '@i18n-components/input-number';
//Use in your component
<input type="tel" is="i18n-input-number" />