{"id":22181185,"url":"https://github.com/viclafouch/mui-tel-input","last_synced_at":"2025-05-15T01:05:47.544Z","repository":{"id":41466112,"uuid":"469034915","full_name":"viclafouch/mui-tel-input","owner":"viclafouch","description":"📌 A phone number input designed for MUI (Material ui) built with libphonenumber-js","archived":false,"fork":false,"pushed_at":"2025-04-14T08:12:33.000Z","size":6789,"stargazers_count":190,"open_issues_count":14,"forks_count":75,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-11T08:01:56.819Z","etag":null,"topics":["material-ui","mui","number","phone-number","react","typescript"],"latest_commit_sha":null,"homepage":"https://viclafouch.github.io/mui-tel-input","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/viclafouch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-03-12T09:17:31.000Z","updated_at":"2025-05-09T11:14:54.000Z","dependencies_parsed_at":"2023-10-17T11:44:16.793Z","dependency_job_id":"d195d9f7-3c1b-4459-b65e-4f0c6be379c6","html_url":"https://github.com/viclafouch/mui-tel-input","commit_stats":{"total_commits":196,"total_committers":21,"mean_commits":9.333333333333334,"dds":"0.23469387755102045","last_synced_commit":"c78014b30c26112cdf62da4bb28334d33fc7b137"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viclafouch%2Fmui-tel-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viclafouch%2Fmui-tel-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viclafouch%2Fmui-tel-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viclafouch%2Fmui-tel-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viclafouch","download_url":"https://codeload.github.com/viclafouch/mui-tel-input/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254254039,"owners_count":22039792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["material-ui","mui","number","phone-number","react","typescript"],"created_at":"2024-12-02T09:26:57.751Z","updated_at":"2025-05-15T01:05:47.519Z","avatar_url":"https://github.com/viclafouch.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://viclafouch.github.io/mui-tel-input/img/logo.svg\" width=\"80\" /\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n\u003ch1\u003eMaterial UI tel input\u003c/h1\u003e\n  \u003cp\u003eA phone number input designed for the React library \u003ca href=\"https://material-ui.com/\"\u003eMaterial UI\u003c/a\u003e\u003c/p\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/viclafouch/mui-tel-input/blob/master/LICENSE)\n![ts](https://badgen.net/badge/Built%20With/TypeScript/blue)\n[![npm](https://img.shields.io/npm/v/mui-tel-input)](https://www.npmjs.com/package/mui-tel-input)\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/viclafouch/mui-tel-input/blob/master/mui-tel-input.gif\" width=\"100%\" /\u003e\n\u003c/div\u003e\n\n\u003c/div\u003e\n\n## Installation\n\n```\n// with npm\nnpm install mui-tel-input\n\n// with yarn\nyarn add mui-tel-input\n```\n\nThe component uses [libphonenumber-js](https://www.npmjs.com/package/libphonenumber-js) for phone number parsing and formatting.\n\n## Usage\n\n```jsx\nimport React from 'react'\nimport { MuiTelInput } from 'mui-tel-input'\n\nconst MyComponent = () =\u003e {\n  const [value, setValue] = React.useState('')\n\n  const handleChange = (newValue) =\u003e {\n    setValue(newValue)\n  }\n\n  return \u003cMuiTelInput value={value} onChange={handleChange} /\u003e\n}\n```\n\n## Next.js integration\n\nLearn how to use MUI Tel Input with [Next.js](https://nextjs.org/).\n\nOnce you have installed `MUI Tel Input` in your next.js project, it is important to transpile it as it is an ESM package first.\n\n```js\n/** @type {import('next').NextConfig} */\nconst nextConfig = {\n transpilePackages: ['mui-tel-input'],\n // your config\n}\n\nmodule.exports = nextConfig\n```\n\n## [Documentation](https://viclafouch.github.io/mui-tel-input/)\n\n## Changelog\n\nGo to [GitHub Releases](https://github.com/viclafouch/mui-tel-input/releases)\n\n## TypeScript\n\nThis library comes with TypeScript \"typings\". If you happen to find any bugs in those, create an issue.\n\n### 🐛 Bugs\n\nPlease file an issue for bugs, missing documentation, or unexpected behavior.\n\n### 💡 Feature Requests\n\nPlease file an issue to suggest new features. Vote on feature requests by adding\na 👍. This helps maintainers prioritize what to work on.\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviclafouch%2Fmui-tel-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviclafouch%2Fmui-tel-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviclafouch%2Fmui-tel-input/lists"}