React Native Tag Input

screenshot of React Native Tag Input
react
react-native

A simple React Native component that creates an input for tags, emails, etc.

Overview:

The React Native Tag Input is a customizable component that allows users to input tags in a text input field. It provides various features for adding, removing, and styling tags within the input field.

Features:

  • value: An array of tags
  • onChange: Handler for when tags are added or removed
  • labelExtractor: Function to extract string value for tags
  • text: Text currently displayed in the TextInput
  • onChangeText: Callback for user input in the TextInput
  • editable: Option to make the text input non-editable
  • tagColor: Background color of tags
  • tagTextColor: Text color of tags
  • tagContainerStyle: Styling override for container surrounding tags
  • tagTextStyle: Styling override for tag text component
  • inputDefaultWidth: Width override for empty text input
  • inputColor: Color of text input
  • inputProps: Additional TextInput props
  • maxHeight: Maximum height of tag input
  • onHeightChange: Callback for changes in component height
  • scrollViewProps: Additional ScrollView props

Summary:

The React Native Tag Input component provides a flexible solution for managing tags within a text input field. With features like customizable styling options, callback functions for tag changes, and support for additional props, it offers a versatile way to incorporate tag inputs into React Native applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

react-native
React Native

React Native is a framework for building mobile applications using React and JavaScript. It enables developers to write once and deploy to multiple platforms, including iOS, Android, and the web, while providing a native app-like experience to users.