Storyblok Raises $80M Series C - Read News

What’s the True Total Price of Enterprise CMS? Find out here.

Skip to main content
Browse apps
Install
Author
Storyblok GmbH
Last update
1/24/2024
Tags
Create lists of strings with a simple interface.
Tags

Create lists of strings with a simple interface.

With this plugin, you have the ability to select and showcase a range of distinct labels. This plugin is especially useful for keeping things organized, such as grouping items into categories or assigning labels to them. For instance, if you're sorting different types of products on a website, you can use this plugin to attach tags like "electronics," "clothing," or "books" to each item.

How to set up

In the block library, select a block to edit. Add a new field, set the Field Type to Plugin, and set the Custom Type to storyblok-tags.

Configure the options:

  • initialValue (optional): A JSON encoded array of string values displayed when the component is loaded. For example:
["AUS", "BRA", "FRA", "SWE", "ITA"]
  • placeholder (optional): the placeholder displayed when the component is not focused.

Example output:

{
  "fieldname": ["AUS", "BRA", "FRA", "SWE", "ITA"]
}