Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-awesome-text-input

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-awesome-text-input

A simple and reusable react native compatible text input that packs animations and extra styling on top of the core React Native's text input.

  • 1.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by28.57%
Maintainers
1
Weekly downloads
 
Created
Source

<AlejandroFabianCampos> codecov npm bundle size npm npm Conventional Commits GitHub closed issues GitHub issues npm peer dependency version NPM GitHub watchers GitHub Repo stars

react-native-awesome-text-input

A simple lib to share an easy to implement animated custom text input for React native

Awesome Text Input Demo Awesome Text Input Demo

How to install

With npm: npm i react-native-awesome-text-input

With yarn: yarn add react-native-awesome-text-input

Examples

Simple label input

import { AwesomeTextInput } from 'react-native-awesome-text-input';

export default function App() {
  return (
    <AwesomeTextInput label="Simple label" />
  );
}

Password input

import { AwesomeTextInput } from 'react-native-awesome-text-input';

export default function App() {
  return (
    <AwesomeTextInput label="Password" secureTextEntry={true} />
  );
}

All round bordered input

import { AwesomeTextInput } from 'react-native-awesome-text-input';

export default function App() {
  return (
    <AwesomeTextInput 
      label="Bordered input" 
      customStyles={{ 
        container: { 
          borderWidth: 1, 
          borderColor: 'grey', 
          borderRadius: 10 
        }, 
        title: { 
          backgroundColor: "white" 
        } 
      }} />
  );
}

API

PropValuesExample
labelstringExample label
customStyles{
container?: ReactNative.ViewStyle,
title?: ReactNative.TextStyle,
inputContainer?: ReactNative.ViewStyle
}
{
container: { borderRadius: 5, backgroundColor: 'purple' } ,
title: { color: "white" },
inputContainer: { backgroundColor: 'blue' }
}
...any ReactNative.TextInput propsReactNative.TextInput propssecureTextEntry: true

// Hide the text input for passwords

Are pull requests and feature requests welcomed?

For sure! Don't hesitate to open issues with the enhancement tag or open pull requests for bugfixes/enhancements.

Keywords

FAQs

Package last updated on 25 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc