Table of Contents

The tags field represents a collection of tags.



interface TagsField {
  component: 'tags'
  name: string
  label?: string
  description?: string
componentThe name of the plugin component. Always 'tags'.
nameThe path to some value in the data being edited.
labelA human readable label for the field. Defaults to the name. (Optional)
descriptionDescription that expands on the purpose of the field or prompts a specific action. (Optional)

This interfaces only shows the keys unique to the tags field.

Visit the Field Config docs for a complete list of options.


Below is an example of how a tags field could be defined in a form.

const FormConfig = {
  fields: [
      name: 'frontmatter.tags',
      component: 'tags',
      label: 'Tags',
      description: 'Tags for this post',
    // ...