Skip to content
R

react-tagsinput

A simple react component for inputing tags

by olaholFree

#132in UI Libraries
0In stores

Description

react-tagsinput is a React component for entering tags in an input field, and the README describes it as highly customizable. It is controll…

Highlights

  • Controlled tag list with value and onChange
  • Custom keys to add and remove tags
  • Validation by regex or function
  • Unique tags, a maxTags limit and paste splitting
  • renderTag, renderInput and renderLayout customization

Ratings & Reviews

No ratings yet

Be the first to rate react-tagsinput.

People also visit

R

react-tag-input

React tags is a fantastically simple tagging component for your React projects

UI Libraries
Launch
R

react-number-format

React component to format number in an input or as a text

UI Libraries
Launch
R

react-typeahead

React-based typeahead and typeahead-tokenizer

UI Libraries
Launch
E

emblor

A full featured, unstyled tag input component for React

UI Libraries
Launch
R

react-input-mask

Input masking component for React. Made with attention to UX

UI Libraries
Launch
R

react-mentions-ts

A React component that enables Facebook/Twitter-style @mentions

UI Libraries
Launch

react-tagsinput FAQ

What does react-tagsinput do?

It is a React component for entering tags, with customizable keys, validation and rendering.

Is it controlled?

Yes. You pass the tags in value and update them in onChange.

How do I validate tags?

With validationRegex or a validate function. onValidationReject is called when a tag is refused.

Can I limit the number of tags?

Yes. maxTags caps the count, and onlyUnique keeps duplicates out.

How do I style it?

Start with the included react-tagsinput.css, then customize with tagProps, inputProps or the render props.

Which methods can I call?

focus(), blur(), accept(), addTag() and clearInput().

What are the best react-tagsinput alternatives?

Popular alternatives to react-tagsinput include react-tag-input, react-number-format and react-typeahead. See all react-tagsinput alternatives

Developer Stuff

Badges