SuiTagInput
PROThe SuiTagInput
component helps you to simply create an input field for creating multiple tags. It uses react-tag-input in base and you can use all of its props for SuiTagInput
.
The below codes are editable and you can modify them the way you want directly from your browser, please use the green button or the ctrl + s to save the changes.
Demo
The below code exmaple of SuiTagInput
, is not working for adding or removing tags you can only test the below props using it. See the complete example of SuiTagInput
on the bottom of that page.
// Soft UI Dashboard PRO React components
import SuiTagInput from "components/SuiTagInput";
html
css
js
Props Information
Name | Type | Default | Description |
---|---|---|---|
size | 'medium''large' | medium | Change the SuiTagInput size. |
error | bool | false | Change the SuiTagInput border color to red, its useful when displaying the error messages. |
success | bool | false | Change the SuiTagInput border color to green, its useful when displaying the success messages. |
React Tag Input | You can pass all of the react-tag-input props for the SuiTagInput as well. |
Functionality
The below code contains a full exmaple of the SuiTagInput
, you can check the functionality as well that how you can add or remove tags.