{"id":16454280,"url":"https://github.com/supervons/react-native-supervons-custom-keyboard","last_synced_at":"2025-03-21T05:30:42.068Z","repository":{"id":47788830,"uuid":"248697773","full_name":"supervons/react-native-supervons-custom-keyboard","owner":"supervons","description":"An RN keyboard written in JS, including uppercase and lowercase letters, numbers, and some symbols. Standing on the shoulders of giants.一个用JS写的RN键盘，包含大小写字母，数字以及部分符号。站在巨人的肩膀上。","archived":false,"fork":false,"pushed_at":"2025-03-07T09:19:25.000Z","size":829,"stargazers_count":43,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T22:06:36.614Z","etag":null,"topics":["react-native","react-native-keyboard","rnkeyboard"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/supervons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-20T07:52:39.000Z","updated_at":"2025-03-07T09:19:28.000Z","dependencies_parsed_at":"2022-09-08T10:51:08.047Z","dependency_job_id":null,"html_url":"https://github.com/supervons/react-native-supervons-custom-keyboard","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supervons%2Freact-native-supervons-custom-keyboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supervons%2Freact-native-supervons-custom-keyboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supervons%2Freact-native-supervons-custom-keyboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/supervons%2Freact-native-supervons-custom-keyboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/supervons","download_url":"https://codeload.github.com/supervons/react-native-supervons-custom-keyboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244745642,"owners_count":20503043,"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-native","react-native-keyboard","rnkeyboard"],"created_at":"2024-10-11T10:18:34.564Z","updated_at":"2025-03-21T05:30:41.787Z","avatar_url":"https://github.com/supervons.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# react-native-supervons-custom-keyboard\n[![NPM Version](https://img.shields.io/npm/v/react-native-supervons-custom-keyboard.svg?style=flat)](https://www.npmjs.com/package/react-native-supervons-custom-keyboard)\n[![NPM Version](https://img.shields.io/npm/dm/react-native-supervons-custom-keyboard.svg?style=flat)](https://www.npmjs.com/package/react-native-supervons-custom-keyboard)\n\nEnglish  [简体中文](/README_CN.md \"中文介绍\")\n\n# github（welcome star━(*｀∀´*)ノ亻!）\nhttps://github.com/supervons/react-native-supervons-custom-keyboard\n\n## Summary\n```\nDeveloped based on react-native-security-keyboard,add：\n1. Uppercase and lowercase letters\n2. Character\n3. Key response\n4. Switch keyboard type\n5. Randomly arrange the keyboard\n\nThanks yanzhandong source sharing\n```\n## Preview gif\n\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/supervons/ImageLibrary@v1.0.0/react-native-supervons-custom-keyboard/video.gif\" alt=\"iOS 动态图\" height=\"600\" align=\"bottom\" /\u003e\n\n## Preview\n\u003cimg src=\"https://cdn.jsdelivr.net/gh/supervons/ImageLibrary@v1.0.0/react-native-supervons-custom-keyboard/demo_iOS.png\" alt=\"iOS地图图片\" height=\"500\" align=\"bottom\" /\u003e\u003cimg src=\"https://cdn.jsdelivr.net/gh/supervons/ImageLibrary@v1.0.0/react-native-supervons-custom-keyboard/demo_android.png\" alt=\"android地图图片\" height=\"500\" align=\"bottom\" /\u003e\n\n## DEMO\nhttps://github.com/supervons/ExploreRN/blob/master/src/screens/login/index.js\n\n## Getting started\n\n`$ npm install react-native-supervons-custom-keyboard --save`\n\n\n## Usage\n```js\nimport React, { Component } from 'react';\nimport { View, Button } from 'react-native';\nimport { SecurityKeyboardInput } from 'react-native-supervons-custom-keyboard';\n```\n```jsx\nexport default class MainPage extends Component {\n  constructor(props) {\n    super(props);\n    this.state = {\n      inputValue: ''\n    };\n  }\n\n  render() {\n    return (\n      \u003cView style={{ flex: 1, backgroundColor: '#ffffff' }}\u003e\n        \u003cView style={{ height: 150 }}\u003e\n          \u003cSecurityKeyboardInput\n            keyName={'password'}\n            style={{ width: width * 0.96, borderBottomColor: '#939DA6', borderBottomWidth: 1 }}\n            secureTextEntry={true}\n            random={true}\n            valueStyle={{ fontSize: 18, left: 1 }}\n            secureTextStyle={{ fontSize: 10 }}\n            keyboardType={'string'}\n            placeholder={'密码'}\n            placeholderTextColor={'#CACACB'}\n            onChangeText={text =\u003e this.setState({ inputValue: text })}\n          /\u003e\n          \u003cButton title={'outPut'} onPress={() =\u003e alert(this.state.inputValue)} /\u003e\n        \u003c/View\u003e\n      \u003c/View\u003e\n    );\n  }\n}\n```\n\n### Multiple password Input\nPlease add property： keyName, it's unique .\n```jsx\n\u003cSecurityKeyboardInput\n keyName={'password'}/\u003e\n\u003cSecurityKeyboardInput\n keyName={'confirmPassword'}/\u003e\n```\n\n### Props\n\n| **Prop** | **Type** | **Description** |\n|----------|----------|-----------------|\n| `keyName`              | `String` | Keep the keyboard unique, required. |\n| `disabled` | `Boolean` | prohibit input, The default is false. |\n| `random` | `Boolean` | random keyboard layout, The default is false. |\n| `caretHidden` | `Boolean` | hide cursor, The default is false. |\n| `secureTextEntry` | `String` |password modal, The default is false.. |\n| `placeholderTextColor` | `String` | The color of the text displayed by the placeholder string. |\n| `style` | `Object` | custom TextInput external style Style, does not support font Style. |\n| `valueStyle` | `Object` | Text content style.|\n| `keyboardHeader` | `element` | Customizing the top of the keyboard.|\n| `regs` | `Func(value)` | value check, need to return the check after the value out. |\n| `onChangeText` | `Func(value)` | Value modified callback. |\n| `onFocus` | `Func` | The callback function of the focus. |\n| `onBlur` | `Func` | A callback function that loses focus |\n\n### Methods\n\n| **Method** | **Parameter** | **Description** |\n|------------|---------------|-----------------|\n| `clear` | none | Clear all the content |\n| `isFocused` | none |The return value indicates whether the current input box has got the focus. |\n| `blur` | none | Lose focus. |\n| `focus` | none | Get the focus. |\n\n\n# TODO-LIST\n\n- [ ] Support typescript\n- [ ] Change to hooks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupervons%2Freact-native-supervons-custom-keyboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupervons%2Freact-native-supervons-custom-keyboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupervons%2Freact-native-supervons-custom-keyboard/lists"}