All Projects → baldwmic → React Input Tags

baldwmic / React Input Tags

Licence: mit
React component for tagging inputs.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Input Tags

tag-picker
Better tags input interaction with JavaScript.
Stars: ✭ 27 (+170%)
Mutual labels:  tags, input, tagging, tag
React Selectrix
A beautiful, materialized and flexible React Select control
Stars: ✭ 166 (+1560%)
Mutual labels:  autocomplete, input, tags, autosuggest
pheniqs
Fast and accurate sequence demultiplexing
Stars: ✭ 14 (+40%)
Mutual labels:  autocomplete, tagging, tag
Tagify
🔖 lightweight, efficient Tags input component in Vanilla JS / React / Angular / Vue
Stars: ✭ 2,305 (+22950%)
Mutual labels:  tagging, input, tags
React Input Enhancements
Set of enhancements for input control
Stars: ✭ 1,375 (+13650%)
Mutual labels:  autocomplete, input, autosuggest
SSCTaglistView
Customizable iOS tag list view, in Swift.
Stars: ✭ 54 (+440%)
Mutual labels:  tags, tagging, tag
react-native-element-textinput
A react-native TextInput, TagsInput and AutoComplete component easy to customize for both iOS and Android.
Stars: ✭ 28 (+180%)
Mutual labels:  autocomplete, tags, input
Id3
Library to read, modify and write ID3 & Lyrics3 tags in MP3 files. Provides an extensible framework for retrieving ID3 information from online services.
Stars: ✭ 27 (+170%)
Mutual labels:  tags, tagging, tag
Tags Input
🔖 <input type="tags"> like magic
Stars: ✭ 312 (+3020%)
Mutual labels:  tag, tagging, input
Vue Autosuggest
🔍 Vue autosuggest component.
Stars: ✭ 492 (+4820%)
Mutual labels:  autocomplete, autosuggest
Vue Input Tag
🔖 Vue.js 2.0 Input Tag Component
Stars: ✭ 507 (+4970%)
Mutual labels:  input, tags
Nouislider
noUiSlider is a lightweight, ARIA-accessible JavaScript range slider with multi-touch and keyboard support. It is fully GPU animated: no reflows, so it is fast; even on older devices. It also fits wonderfully in responsive designs and has no dependencies.
Stars: ✭ 5,127 (+51170%)
Mutual labels:  component, input
Music Metadata
Stream and file based music metadata parser for node. Supporting a wide range of audio and tag formats.
Stars: ✭ 455 (+4450%)
Mutual labels:  tag, tags
Vue Gl
Vue.js components rendering 3D WebGL graphics reactively with three.js
Stars: ✭ 434 (+4240%)
Mutual labels:  tag, tags
Standard Version
🏆 Automate versioning and CHANGELOG generation, with semver.org and conventionalcommits.org
Stars: ✭ 5,806 (+57960%)
Mutual labels:  tag, tags
Terratag
Terratag is a CLI tool that enables users of Terraform to automatically create and maintain tags across their entire set of AWS, Azure, and GCP resources
Stars: ✭ 385 (+3750%)
Mutual labels:  tagging, tags
React Grid Gallery
Justified image gallery component for React
Stars: ✭ 571 (+5610%)
Mutual labels:  tagging, tags
React Native Autocomplete Input
Pure javascript autocomplete input for react-native
Stars: ✭ 615 (+6050%)
Mutual labels:  autocomplete, input
Quill Mention
💬 @mentions for the Quill rich text editor
Stars: ✭ 349 (+3390%)
Mutual labels:  tagging, autocomplete
Vue Img Inputer
🏞 A graceful image type inputer / uploader
Stars: ✭ 548 (+5380%)
Mutual labels:  component, input

react-input-tags | demo

React component for tagging inputs.

example

npm version dependencies travis-ci status

Getting Started

Install Package

npm install --save react-input-tags

Use Package

import React from 'react';
import { InputTagsContainer } from 'react-input-tags';

export class TagsExample extends React.Component {
  state = {
    tags: [],
  }

  handleUpdateTags = (tags) => {
    this.setState({ tags });
  }

  render() {
    return (
      <InputTagsContainer
        tags={this.state.tags}
        handleUpdateTags={this.handleUpdateTags}
      />
    );
  }
}

API

Both the high-level InputTagsContainer component or the low-level InputTags component are exported for use.

InputTagsContainer

Property Type Required Description
tags Array An array of data that represents the value of the tags
handleUpdateTags Function A function called when the value of tags changes, passes the tags value as an argument.
getTagValue Function A function called when a tag is edited, passes the tag as an argument.
createTag Function A function called when a tag is to be inserted, passes the input value as an argument.
inputPlaceholder String The placeholder to populate the input with
inputTabIndex Number The tab index for the input
inputMaxWidth Number The max width the input can take up in pixels
suggestions Array An array of data that represents the value of the suggestions
handleUpdateSuggestions Function A function called when the value of input changes, passes the input value as an argument.
getSuggestionValue Function A function called when a suggestion is selected, passes the suggestion value as an argument.
suggestionsAreLoading Boolean Whether the suggestions are loading or not.
InputTagsContainerImplementation Function A function called when InputTagsContainer component is to be rendered.
InputTagsImplementation Function A function called when InputTags component is to be rendered.
InputImplementation Function A function called when Input component is to be rendered.
TagImplementation Function A function called when Tag component is to be rendered.
SuggestionListImplementation Function A function called when SuggestionList component is to be rendered.
SuggestionImplementation Function A function called when Suggestion component is to be rendered.
SuggestionsLoaderImplementation Function A function called when SuggestionsLoader component is to be rendered.
InputTagsClassName String A class for the InputTags component.
InputClassName String A class for the Input component.
TagClassName String A class for the Tag component.
SuggestionListClassName String A class for the SuggestionList component.
SuggestionClassName String A class for the Suggestion component.
SuggestionsLoaderClassName String A class for the SuggestionsLoader component.

InputTags

Property Type Required Description
tags Array An array of data that represents the value of the tags
handleInsert Function A function called when a tag will be inserted, passes the current tags value and new tag value as arguments.
handleRemove Function A function called when a tag will be removed, passes the current tags value and index of the tag to be removed as arguments.
getTagValue Function A function called when a tag is edited, passes the tag as an argument.
createTag Function A function called when a tag is to be inserted, passes the input value as an argument.
inputPlaceholder String The placeholder to populate the input with
inputTabIndex Number The tab index for the input
inputMaxWidth Number The max width the input can take up in pixels
suggestions Array An array of data that represents the value of the suggestions
handleUpdateSuggestions Function A function called when the value of input changes, passes the input value as an argument.
getSuggestionValue Function A function called when a suggestion is selected, passes the suggestion value as an argument.
suggestionsAreLoading Boolean Whether the suggestions are loading or not.
InputTagsImplementation Function A function called when InputTags component is to be rendered.
InputImplementation Function A function called when Input component is to be rendered.
TagImplementation Function A function called when Tag component is to be rendered.
SuggestionListImplementation Function A function called when SuggestionList component is to be rendered.
SuggestionImplementation Function A function called when Suggestion component is to be rendered.
SuggestionsLoaderImplementation Function A function called when SuggestionsLoader component is to be rendered.
InputTagsClassName String A class for the InputTags component.
InputClassName String A class for the Input component.
TagClassName String A class for the Tag component.
SuggestionListClassName String A class for the SuggestionList component.
SuggestionClassName String A class for the Suggestion component.
SuggestionsLoaderClassName String A class for the SuggestionsLoader component.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].