{"id":915,"date":"2022-06-16T06:49:07","date_gmt":"2022-06-16T05:49:07","guid":{"rendered":"https:\/\/codeflarelimited.com\/blog\/?p=915"},"modified":"2022-06-16T06:49:09","modified_gmt":"2022-06-16T05:49:09","slug":"react-native-toggle-password-visibility","status":"publish","type":"post","link":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/","title":{"rendered":"React Native Toggle Password Visibility"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"500\" src=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/09\/origami-banner.png\" alt=\"build mobile apps in abuja\" class=\"wp-image-767\" srcset=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/09\/origami-banner.png 1024w, https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/09\/origami-banner-300x146.png 300w, https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/09\/origami-banner-768x375.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Professionally built mobile app templates to kickstart your project<\/figcaption><\/figure>\n\n\n\n<p>The toggle password visibility helps for a good user experience and lets the user see and confirm what they are typing.<\/p>\n\n\n\n<p>And in most cases, it can even completely eliminate the need for a <em><strong>confirm password<\/strong><\/em> field.<\/p>\n\n\n\n<p><a href=\"https:\/\/codeflarelimited.com\/blog\/why-the-confirm-password-field-is-useless\/\" target=\"_blank\" rel=\"noreferrer noopener\">Why The Confirm Password Field is Useless<\/a><\/p>\n\n\n\n<p>So let&#8217;s get into it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-1\">Step 1: <\/h2>\n\n\n\n<p>Download the eye-close and eye-open icon from Flaticons <a href=\"https:\/\/www.flaticon.com\/search?word=eye\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"512\" data-id=\"916\" src=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/show.png\" alt=\"\" class=\"wp-image-916\" srcset=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/show.png 512w, https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/show-300x300.png 300w, https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/show-150x150.png 150w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"512\" data-id=\"917\" src=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/hide.png\" alt=\"toggle password visibility in react native\" class=\"wp-image-917\" srcset=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/hide.png 512w, https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/hide-300x300.png 300w, https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/hide-150x150.png 150w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure>\n<figcaption class=\"blocks-gallery-caption\">Eye icon<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-2\">Step 2:<\/h2>\n\n\n\n<p>Set the toggle state for the password visibility in the constructor and write the functions<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"jsx\" class=\"language-jsx\">constructor(props){\nsuper(props);\nthis.state = {\n hidePassword: true\n}\n}\n\n\/\/Toggle password visibility\nmanagePasswordVisibility = () => {\n    this.setState({hidePassword: !this.state.hidePassword});\n  };<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-3\">Step 3:<\/h2>\n\n\n\n<p>Next, import these downloaded icons to your project. Also import TextInput from React Native<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"jsx\" class=\"language-jsx\">&lt;View style={[styles.container, {marginBottom: 18}]}>\n                &lt;TextInput\n                  style={styles.inputFlex}\n                  secureTextEntry={this.state.hidePassword}\n                  autoCompleteType=\"password\"\n                  autoCapitalize=\"none\"\n                  autoCorrect={false}\n                  returnKeyType=\"send\"\n                  onChangeText={(UserPassword) =>        this.setState({UserPassword})}\n                \/>\n                &lt;TouchableOpacity\n                  activeOpacity={0.8}\n                  style={styles.visibilityBtn}\n                  onPress={this.managePasswordVisibility}>\n                  &lt;Image\n                    source={\n                      this.state.hidePassword\n                        ? require('..\/assets\/images\/show.png')\n                        : require('..\/assets\/images\/hide.png')\n                    }\n                    style={styles.btnImage}\n                  \/>\n                &lt;\/TouchableOpacity>\n              &lt;\/View>\n            &lt;\/View>\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-3-1\">Step 3:<\/h2>\n\n\n\n<p>Finally, we&#8217;ll add some styling<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"jsx\" class=\"language-jsx\">const styles = StyleSheet.create({\n\ncontainer: {\nflex: 1,\n    flexDirection: 'row',\n    flexWrap: 'nowrap',\n    marginTop: 10,\n  },\ninputFlex: {\n    alignSelf: 'stretch',\n    width: '100%',\n    padding: 0,\n    backgroundColor: '#ddd'\n  },\nvisibilityBtn: {\n    position: 'absolute',\n    right: 9,\n    height: 25,\n    width: 25,\n    padding: 0,\n    marginTop: 21,\n  },\n\n})<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-full-code-here\">Full Code Here:<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"jsx\" class=\"language-jsx\">import { Component }, React from 'react';\nimport { View, Text, TextInput, TouchableOpacity, Stylesheet } from 'react-native';\n\n\nclass App extends Component {\n\nconstructor(props){\nsuper(props);\nthis.state = {\n hidePassword: true\n}\n}\n\n \/\/Toggle password visibility\n managePasswordVisibility = () => {\n    this.setState({hidePassword: !this.state.hidePassword});\n  };\n\nrender(){\nreturn(\n&lt;View style={[styles.container, {marginBottom: 18}]}>\n                &lt;TextInput\n                  style={styles.inputFlex}\n                  secureTextEntry={this.state.hidePassword}\n                  autoCompleteType=\"password\"\n                  autoCapitalize=\"none\"\n                  autoCorrect={false}\n                  returnKeyType=\"send\"\n                  onChangeText={(UserPassword) =>        this.setState({UserPassword})}\n                \/>\n                &lt;TouchableOpacity\n                  activeOpacity={0.8}\n                  style={styles.visibilityBtn}\n                  onPress={this.managePasswordVisibility}>\n                  &lt;Image\n                    source={\n                      this.state.hidePassword\n                        ? require('..\/assets\/images\/show.png')\n                        : require('..\/assets\/images\/hide.png')\n                    }\n                    style={styles.btnImage}\n                  \/>\n                &lt;\/TouchableOpacity>\n              &lt;\/View>\n            &lt;\/View>\n\n)\n\n}\n\n}\n\nconst styles = StyleSheet.create({\n\ncontainer: {\nflex: 1,\n    flexDirection: 'row',\n    flexWrap: 'nowrap',\n    marginTop: 10,\n  },\ninputFlex: {\n    alignSelf: 'stretch',\n    width: '100%',\n    padding: 0,\n    backgroundColor: '#ddd'\n  },\nvisibilityBtn: {\n    position: 'absolute',\n    right: 9,\n    height: 25,\n    width: 25,\n    padding: 0,\n    marginTop: 21,\n  },\n\n})\n\nexport default App;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2>\n\n\n\n<p>There we have it, our React Native toggle password implementation in our software application. Feel free to modify the code to suit your own project.<\/p>\n\n\n\n<p>Let me know what you think in the comments!<\/p>\n\n\n\n<p><a href=\"https:\/\/codeflarelimited.com\/blog\/login-form-with-toggle-password-visibility-in-android-studio-a-step-by-step-process\/\" target=\"_blank\" rel=\"noreferrer noopener\">Toggle Password Visibility With Android Studio<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The toggle password visibility helps for a good user experience and lets the user see and confirm what<\/p>\n","protected":false},"author":1,"featured_media":918,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[31,98],"tags":[],"class_list":["post-915","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-react-native","category-softare-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>React Native Toggle Password Visibility<\/title>\n<meta name=\"description\" content=\"The toggle password visibility in react native helps for a good user experience and lets the user see and confirm what they are typing.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"React Native Toggle Password Visibility\" \/>\n<meta property=\"og:description\" content=\"The toggle password visibility in react native helps for a good user experience and lets the user see and confirm what they are typing.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/facebook.com\/codeflretech\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-16T05:49:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-16T05:49:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/Cover-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"codeflare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@codeflaretech\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native-toggle-password-visibility\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native-toggle-password-visibility\\\/\"},\"author\":{\"name\":\"codeflare\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/person\\\/7e65653d49add95629f8c1053c5cd76a\"},\"headline\":\"React Native Toggle Password Visibility\",\"datePublished\":\"2022-06-16T05:49:07+00:00\",\"dateModified\":\"2022-06-16T05:49:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native-toggle-password-visibility\\\/\"},\"wordCount\":156,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native-toggle-password-visibility\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/Cover-1.png\",\"articleSection\":[\"react native\",\"softare development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native-toggle-password-visibility\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native-toggle-password-visibility\\\/\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native-toggle-password-visibility\\\/\",\"name\":\"React Native Toggle Password Visibility\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native-toggle-password-visibility\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native-toggle-password-visibility\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/Cover-1.png\",\"datePublished\":\"2022-06-16T05:49:07+00:00\",\"dateModified\":\"2022-06-16T05:49:09+00:00\",\"description\":\"The toggle password visibility in react native helps for a good user experience and lets the user see and confirm what they are typing.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native-toggle-password-visibility\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native-toggle-password-visibility\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native-toggle-password-visibility\\\/#primaryimage\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/Cover-1.png\",\"contentUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/Cover-1.png\",\"width\":1920,\"height\":1080,\"caption\":\"toggle password visibility in react native\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native-toggle-password-visibility\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"react native\",\"item\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/react-native\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"React Native Toggle Password Visibility\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/\",\"name\":\"\",\"description\":\"Sustainable solutions\",\"publisher\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#organization\",\"name\":\"Codeflare Limited\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/codeflare.png\",\"contentUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/codeflare.png\",\"width\":1040,\"height\":263,\"caption\":\"Codeflare Limited\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/person\\\/7e65653d49add95629f8c1053c5cd76a\",\"name\":\"codeflare\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g\",\"caption\":\"codeflare\"},\"description\":\"Latest tech news and coding tips.\",\"sameAs\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\",\"https:\\\/\\\/facebook.com\\\/codeflretech\",\"https:\\\/\\\/instagram.com\\\/codeflaretech\",\"https:\\\/\\\/x.com\\\/codeflaretech\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCuBLtiYqsajHdqw0uyt7Ofw?sub_confirmation=1\"],\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/author\\\/watcher\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"React Native Toggle Password Visibility","description":"The toggle password visibility in react native helps for a good user experience and lets the user see and confirm what they are typing.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/","og_locale":"en_US","og_type":"article","og_title":"React Native Toggle Password Visibility","og_description":"The toggle password visibility in react native helps for a good user experience and lets the user see and confirm what they are typing.","og_url":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/","article_author":"https:\/\/facebook.com\/codeflretech","article_published_time":"2022-06-16T05:49:07+00:00","article_modified_time":"2022-06-16T05:49:09+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/Cover-1.png","type":"image\/png"}],"author":"codeflare","twitter_card":"summary_large_image","twitter_creator":"@codeflaretech","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/#article","isPartOf":{"@id":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/"},"author":{"name":"codeflare","@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/person\/7e65653d49add95629f8c1053c5cd76a"},"headline":"React Native Toggle Password Visibility","datePublished":"2022-06-16T05:49:07+00:00","dateModified":"2022-06-16T05:49:09+00:00","mainEntityOfPage":{"@id":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/"},"wordCount":156,"commentCount":0,"publisher":{"@id":"https:\/\/codeflarelimited.com\/blog\/#organization"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/#primaryimage"},"thumbnailUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/Cover-1.png","articleSection":["react native","softare development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/","url":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/","name":"React Native Toggle Password Visibility","isPartOf":{"@id":"https:\/\/codeflarelimited.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/#primaryimage"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/#primaryimage"},"thumbnailUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/Cover-1.png","datePublished":"2022-06-16T05:49:07+00:00","dateModified":"2022-06-16T05:49:09+00:00","description":"The toggle password visibility in react native helps for a good user experience and lets the user see and confirm what they are typing.","breadcrumb":{"@id":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/#primaryimage","url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/Cover-1.png","contentUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/Cover-1.png","width":1920,"height":1080,"caption":"toggle password visibility in react native"},{"@type":"BreadcrumbList","@id":"https:\/\/codeflarelimited.com\/blog\/react-native-toggle-password-visibility\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codeflarelimited.com\/blog\/"},{"@type":"ListItem","position":2,"name":"react native","item":"https:\/\/codeflarelimited.com\/blog\/react-native\/"},{"@type":"ListItem","position":3,"name":"React Native Toggle Password Visibility"}]},{"@type":"WebSite","@id":"https:\/\/codeflarelimited.com\/blog\/#website","url":"https:\/\/codeflarelimited.com\/blog\/","name":"","description":"Sustainable solutions","publisher":{"@id":"https:\/\/codeflarelimited.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codeflarelimited.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codeflarelimited.com\/blog\/#organization","name":"Codeflare Limited","url":"https:\/\/codeflarelimited.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2020\/11\/codeflare.png","contentUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2020\/11\/codeflare.png","width":1040,"height":263,"caption":"Codeflare Limited"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/person\/7e65653d49add95629f8c1053c5cd76a","name":"codeflare","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g","caption":"codeflare"},"description":"Latest tech news and coding tips.","sameAs":["https:\/\/codeflarelimited.com\/blog","https:\/\/facebook.com\/codeflretech","https:\/\/instagram.com\/codeflaretech","https:\/\/x.com\/codeflaretech","https:\/\/www.youtube.com\/channel\/UCuBLtiYqsajHdqw0uyt7Ofw?sub_confirmation=1"],"url":"https:\/\/codeflarelimited.com\/blog\/author\/watcher\/"}]}},"jetpack_featured_media_url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2022\/06\/Cover-1.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/comments?post=915"}],"version-history":[{"count":1,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/915\/revisions"}],"predecessor-version":[{"id":919,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/915\/revisions\/919"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/media\/918"}],"wp:attachment":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/media?parent=915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/categories?post=915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/tags?post=915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}