{"id":19312070,"url":"https://github.com/weblineindia/reactjs-text-box","last_synced_at":"2025-07-18T13:36:48.595Z","repository":{"id":57347624,"uuid":"281884748","full_name":"weblineindia/ReactJS-Text-Box","owner":"weblineindia","description":"ReactJS based Text Box component used to specify an input field where the user can enter data.","archived":false,"fork":false,"pushed_at":"2024-03-30T08:45:15.000Z","size":40045,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T13:35:41.741Z","etag":null,"topics":["react-components","react-demo","react-input-field","react-libraries","react-text","react-text-input","react-textbox","reactjs","reactjs-components","reactjs-demo","reactjs-input","reactjs-library","reactjs-text-box","reusable-components","text-box-input","text-input","textbox","textbox-component"],"latest_commit_sha":null,"homepage":"https://www.weblineindia.com/software-development-resources.html","language":"JavaScript","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/weblineindia.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2020-07-23T07:40:20.000Z","updated_at":"2024-03-30T08:45:20.000Z","dependencies_parsed_at":"2024-11-10T00:42:48.172Z","dependency_job_id":null,"html_url":"https://github.com/weblineindia/ReactJS-Text-Box","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"41f621a7e099547d7c72dc603468d91553fc2adc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/weblineindia/ReactJS-Text-Box","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Text-Box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Text-Box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Text-Box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Text-Box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weblineindia","download_url":"https://codeload.github.com/weblineindia/ReactJS-Text-Box/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weblineindia%2FReactJS-Text-Box/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265769507,"owners_count":23825281,"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":["react-components","react-demo","react-input-field","react-libraries","react-text","react-text-input","react-textbox","reactjs","reactjs-components","reactjs-demo","reactjs-input","reactjs-library","reactjs-text-box","reusable-components","text-box-input","text-input","textbox","textbox-component"],"created_at":"2024-11-10T00:32:36.448Z","updated_at":"2025-07-18T13:36:43.564Z","avatar_url":"https://github.com/weblineindia.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReactJS - Text Box Component\n\nReactJS based Text Box component used to specify an input field where the user can enter data.\n\n## Table of contents\n\n- [Browser Support](#browser-support)\n- [Demo](#demo)\n- [Getting started](#getting-started)\n- [Usage](#usage)\n- [Available Props](#available-props)\n- [Methods](#methods)\n- [Want to Contribute?](#want-to-contribute)\n- [Collection of Components](#collection-of-components)\n- [Changelog](#changelog)\n- [License](#license)\n- [Keywords](#Keywords)\n\n## Browser Support\n\n| ![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) | ![IE](https://raw.github.com/alrra/browser-logos/master/src/archive/internet-explorer_9-11/internet-explorer_9-11_48x48.png) |\n| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |\n| 83.0 ✔                                                                                   | 77.0 ✔                                                                                      | 13.1.1 ✔                                                                                 | 83.0 ✔                                                                             | 11.9 ✔                                                                                                                       |\n\n## Demo\n\n[![](input.gif)](https://github.com/weblineindia/ReactJS-Text-Box/input.gif)\n\n## Getting started\n\nInstall the npm package:\n\n```bash\nnpm install react-weblineindia-text-box\n#OR\nyarn add react-weblineindia-text-box\n```\n\n## Usage\n\nUse the `\u003creact-weblineindia-text-box\u003e` component:\n\n```js\nimport React ,{ Component } from 'react';\nimport TextBox from 'react-weblineindia-text-box'\n\nclass Test extends Component {\n    constructor(props) {\n    super(props);\n    this.state = {\n      vData: \"\"\n    };\n    onChange(event){\n      this.setState({\n        vData : event.target.value\n      })\n    }\n    render(){\n    return (\n      \u003cdiv\u003e\n        \u003cTextBox \n          value ={this.state.vData}\n          onChange={this.onChange.bind(this)}\n          placeholder =\"Input here\"\n        /\u003e\n      \u003c/div\u003e\n    )}\n}\n```\n\n## Available Props\n\n| Prop         | Type    | default | Description                                    |\n| ------------ | ------- | ------- | ---------------------------------------------- |\n| id           | String  |         | ID for the input                               |\n| name         | String  |         | Name for the input                              |\n| value        | string  |         | Value of the component                         |\n| classname    | object  |         | Class to the input                             |\n| placeholder  | String  |         | The input field will get this placeholder text |\n| hide         | Boolean | false   | Hide component                                 |\n| disabled     | Boolean | false   | Disable component                              |\n| tabindex     | Number  | 0       | Tab index of the component                     |\n| maxlength    | Number  | 25      | The input maxlength                            |\n| regex        | RegExp  |         | The input regex                                |\n| autocomplete | String  | off     | The input of autocomplelete                    |\n| type         | String  | text    | Type for the input                             |\n| isnumberonly | Boolean | false   | The input field will get number value          |\n\n## Methods\n\n| Name     | Description                                                      |\n| -------- | ---------------------------------------------------------------- |\n| onFocus    | Gets triggered when the autocomplete input field receives focus. |\n| onBlur     | Gets triggered when the autocomplete input field loses focus.    |\n| onChange   | Gets triggered when the autocomplete results got changed.        |\n| onKeypress | Gets triggered when a key gets pressed.                          |\n| onKeyDown  | Gets triggered when a key gets down.                             |\n| onKeyUp    | Gets triggered when a key gets up.                             |\n\n## Want to Contribute?\n\n- Created something awesome, made this code better, added some functionality, or whatever (this is the hardest part).\n- [Fork it](http://help.github.com/forking/).\n- Create new branch to contribute your changes.\n- Commit all your changes to your branch.\n- Submit a [pull request](http://help.github.com/pull-requests/).\n\n---\n\n## Collection of Components\n\nWe have built many other components and free resources for software development in various programming languages. Kindly click here to view our [Free Resources for Software Development](https://www.weblineindia.com/software-development-resources.html)\n\n---\n\n## Changelog\n\nDetailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).\n\n## License\n\n[MIT](LICENSE)\n\n[mit]: https://github.com/weblineindia/ReactJS-Text-Box/blob/master/LICENSE\n\n## Keywords\n\nreact-weblineindia-textbox, react-weblineindia-text-box, react-textbox, text-input, reactjs-input, react-input-field, react-text-input\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freactjs-text-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweblineindia%2Freactjs-text-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweblineindia%2Freactjs-text-box/lists"}