{"id":20608580,"url":"https://github.com/hirishu10/react-native-customized-box","last_synced_at":"2026-04-14T04:31:19.062Z","repository":{"id":57336391,"uuid":"448050336","full_name":"hirishu10/react-native-customized-box","owner":"hirishu10","description":"React Native Customized Input Box is very simple and easy to use.","archived":false,"fork":false,"pushed_at":"2022-02-04T08:19:51.000Z","size":535,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-28T19:15:52.827Z","etag":null,"topics":["box-style","custom-inputbox","hirishu10","inputbox","npm","password-toggle-box","react","react-native","react-native-inputbox","required-box"],"latest_commit_sha":null,"homepage":"","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/hirishu10.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}},"created_at":"2022-01-14T17:22:45.000Z","updated_at":"2025-06-28T03:51:05.000Z","dependencies_parsed_at":"2022-09-03T07:53:49.440Z","dependency_job_id":null,"html_url":"https://github.com/hirishu10/react-native-customized-box","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hirishu10/react-native-customized-box","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirishu10%2Freact-native-customized-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirishu10%2Freact-native-customized-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirishu10%2Freact-native-customized-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirishu10%2Freact-native-customized-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hirishu10","download_url":"https://codeload.github.com/hirishu10/react-native-customized-box/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirishu10%2Freact-native-customized-box/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31782736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["box-style","custom-inputbox","hirishu10","inputbox","npm","password-toggle-box","react","react-native","react-native-inputbox","required-box"],"created_at":"2024-11-16T10:11:04.679Z","updated_at":"2026-04-14T04:31:19.045Z","avatar_url":"https://github.com/hirishu10.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-customized-box · ![Version](https://img.shields.io/npm/v/react-native-customized-box?label=version) \u003ca href=\"https://img.shields.io/npm/l/react-native\"\u003e![License](https://img.shields.io/npm/l/react-native-customized-box)\u003c/a\u003e \u003ca href=\"https://img.shields.io/readthedocs/react\"\u003e![Downloads](https://img.shields.io/npm/dw/react-native-customized-box)\u003c/a\u003e \u003ca href=\"https://img.shields.io/badge/Github-hirishu10-lightgrey\"\u003e![DocsPassing](https://img.shields.io/badge/Github-hirishu10-lightgrey)\u003c/a\u003e\n\n\u003c!-- React Native Customized Box --\u003e\n\nReact Native Customized Box is very simple and easy to use.\n\n\u003c!-- Contents --\u003e\n\n# Content\n\n- [Getting started](#getting-started)\n- [Overview](#overview)\n- [Method and Props Configuration](#method-and-props-configuration)\n- [Author](#author)\n- [License](#license)\n\u003c!-- Contents --\u003e\n\n\u003c!-- Getting Started --\u003e\n\n# Getting started\n\n## Prerequisites\n\n- Node (version 12 or greater).\n- Yarn (version 1.5 or greater).\n- React, React-Native should be installed\n- A fork of the repo (for any contributions).\n\n## Installation\n\n\u003e Using NPM\n\n```bash\nnpm i --save react-native-customized-box\n```\n\n\u003e Using Yarn\n\n```bash\nyarn add react-native-customized-box\n```\n\n\u003c!-- Getting Started --\u003e\n\n\u003c!-- overview --\u003e\n\n# Overview\n\n#### 📖 Below we provide examples with code how to use!\n\n```jsx\nimport CustomBox from \"react-native-customized-box\";\n```\n\n#### ► Example - 1\n\n\u003e → Box fully customizable\n\n|                                                                                             |                                                                                             |\n| :-----------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------: |\n| \u003cimg src=\"https://raw.githubusercontent.com/hirishu10/first-file/main/1.png\" width=\"350\" /\u003e | \u003cimg src=\"https://raw.githubusercontent.com/hirishu10/first-file/main/6.png\" width=\"350\" /\u003e |\n\n\u003e **Code Snippet ↓**\n\n```jsx\n      \u003cCustomBox\n        placeholder={\"Username\"}\n        boxColor={\"dodgerblue\"}\n        focusColor={\"#33ff00\"}\n        boxStyle={{ borderRadius: 40, borderWidth: 2 }}\n      /\u003e\n      \u003cCustomBox\n        placeholder={\"Password\"}\n        toggle={true}\n        boxColor={\"dodgerblue\"}\n        focusColor={\"#33ff00\"}\n        boxStyle={{ borderRadius: 40, borderWidth: 2, borderStyle: \"dotted\" }}\n      /\u003e\n```\n\n\u003c!--  --\u003e\n\n#### ► Example - 2\n\n\u003e → Toggle feature enabled\n\n|                                                                                             |                                                                                             |\n| :-----------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------: |\n| \u003cimg src=\"https://raw.githubusercontent.com/hirishu10/first-file/main/2.png\" width=\"350\" /\u003e | \u003cimg src=\"https://raw.githubusercontent.com/hirishu10/first-file/main/3.png\" width=\"350\" /\u003e |\n\n\u003e **Code Snippet ↓**\n\n```jsx\n      \u003cCustomBox placeholder={\"Username\"} /\u003e\n      \u003cCustomBox placeholder={\"Password\"} toggle={true} /\u003e\n```\n\n\u003c!--  --\u003e\n\n#### ► Example - 3\n\n\u003e → Box color change while focusing\n\n|                                                                                             |                                                                                             |\n| :-----------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------: |\n| \u003cimg src=\"https://raw.githubusercontent.com/hirishu10/first-file/main/4.png\" width=\"350\" /\u003e | \u003cimg src=\"https://raw.githubusercontent.com/hirishu10/first-file/main/5.png\" width=\"350\" /\u003e |\n\n\u003e **Code Snippet ↓**\n\n```jsx\n      \u003cCustomBox\n        placeholder={\"Username\"}\n        boxColor={\"dodgerblue\"}\n        focusColor={\"#33ff00\"}\n      /\u003e\n      \u003cCustomBox\n        placeholder={\"Password\"}\n        toggle={true}\n        boxColor={\"dodgerblue\"}\n        focusColor={\"#33ff00\"}\n      /\u003e\n```\n\n\u003c!--  --\u003e\n\n#### ► Example - 4\n\n\u003e → Label and Required option enable to give error on condition\n\n|                                                                                             |                                                                                             |\n| :-----------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------: |\n| \u003cimg src=\"https://raw.githubusercontent.com/hirishu10/first-file/main/8.png\" width=\"350\" /\u003e | \u003cimg src=\"https://raw.githubusercontent.com/hirishu10/first-file/main/9.png\" width=\"350\" /\u003e |\n\n\u003e **Code Snippet ↓**\n\n```jsx\n      \u003cCustomBox\n        placeholder={\"Username\"}\n        boxColor={\"dodgerblue\"}\n        focusColor={\"#33ff00\"}\n        boxStyle={{ borderRadius: 40, borderWidth: 2, borderStyle: \"dashed\" }}\n        inputStyle={{ textAlign: \"center\", fontWeight: \"bold\", color: \"red\" }}\n        labelConfig={{\n          text: \"Username\",\n          style: {\n            color: \"#1f5212\",\n            fontWeight: \"bold\",\n          },\n        }}\n        requiredConfig={{\n          text: \"*This is Required\",\n        }}\n      /\u003e\n      \u003cCustomBox\n        placeholder={\"Password\"}\n        toggle={true}\n        boxColor={\"dodgerblue\"}\n        focusColor={\"#33ff00\"}\n        boxStyle={{ borderRadius: 40, borderWidth: 2 }}\n        inputStyle={{ fontWeight: \"bold\", color: \"red\" }}\n        labelConfig={{\n          text: \"Password\",\n          style: {\n            color: \"#0e0e21\",\n            fontWeight: \"bold\",\n          },\n        }}\n        requiredConfig={{\n          text: \u003cText\u003e*Add Custom Message and decoreate your own\u003c/Text\u003e,\n          style: { textAlign: \"center\", textDecorationLine: \"underline\" },\n        }}\n      /\u003e\n```\n\n\u003c!-- overview --\u003e\n\n\u003c!-- method and props  --\u003e\n\n# Method and Props Configuration\n\n🔧 Below are the method which you can use to customized the Box in your style\n\n| Method           |   Type   | Description                                                                                                                                                                           |\n| :--------------- | :------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `width`          |  Number  | This is not \\*Mandatory By `default` set to `300` but you can change and add your own                                                                                                 |\n| `height`         |  Number  | This is not \\*Mandatory By `default` set to `50` but you can change and add your own                                                                                                  |\n| `placeholder`    |  String  | Provide text for the Placeholder                                                                                                                                                      |\n| `toggle`         | Boolean  | Provide `True` to display `SHOW/HIDE` by **default** set to `False`                                                                                                                   |\n| `boxColor`       |  String  | Provide Color for the _`InputBox`_ by `default` color set to `silver`                                                                                                                 |\n| `focusColor`     |  String  | Provide Color for change the box color while focusing the _`InputBox`_                                                                                                                |\n| `boxStyle`       |  Object  | Provide custom `style`/decoration for the _`InputBox`_                                                                                                                                |\n| `inputStyle`     |  Object  | Provide custom `style`/decoration for the Text inside the _`InputBox`_                                                                                                                |\n| `labelConfig`    |  Object  | **`text:`** Provide text for the Label (String) \u003c/br\u003e **`style:`** Provide custom style for the Label (Object)                                                                        |\n| `requiredConfig` |  Object  | **`text:`** Provide custom mandatory message to display like(\\*This is Required) you can add your own (String) \u003c/br\u003e **`style:`** Provide custom style for the required text (Object) |\n| `values`         |  String  | You can use this to set predefine values or get the current _`InputBox`_ value                                                                                                        |\n| `onChangeText`   | Function | Function like `onChangeText`                                                                                                                                                          |\n\n\u003c!-- method and props  --\u003e\n\n\u003c!-- author  --\u003e\n\n# Author\n\n#### Thank You All 🙏🏻\n\nMade with 🖤 by\n\n**Author** : [Rishu Chowdhary](https://github.com/hirishu10)\n\n**Email** : hi.10rishu@gmail.com\n\n\u003c!-- author  --\u003e\n\n\u003c!-- licesnce  --\u003e\n\n# License\n\n#### MIT License 📄\n\nThis project is licensed under the MIT License - see the [LICENSE.md](https://github.com/hirishu10/react-native-customized-box/blob/main/LICENSE) file for details\n\n\u003c!-- licesnce  --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirishu10%2Freact-native-customized-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirishu10%2Freact-native-customized-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirishu10%2Freact-native-customized-box/lists"}