Skip to main content
The tags input component allows you to interact with a list of tags.

Basic Usage

Available Methods

method
Stores tags as separated string instead of JSON.
method
Adds autocomplete suggestions.
method
Sets keys that create new tags.
method
Adds prefix to displayed tags.
method
Adds suffix to displayed tags.
method
Allows reordering tags.
method
Sets the color of tags.
method
Trims whitespace from tags.
method
Adds validation rules for each tag.

Common Patterns

Blog Post Tags

Hashtags

Keywords

Categories

Database Casting

For JSON storage, add an array cast: