Spectrum Components API

Schema version: 6.0.0

Tag group

A tag group is a collection of tags that represent a set of related items.

PropertyValuesDefault valueRequired
size
s / m / l
m
label position
top / side
top
hide label
yes / no
no
action label
text
If undefined, this button does not appear.
-
{
  "slug": "tag-group",
  "$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/component.json",
  "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/components/tag-group.json",
  "title": "Tag group",
  "description": "A tag group is a collection of tags that represent a set of related items.",
  "meta": {
    "category": "inputs",
    "documentationUrl": "https://spectrum.adobe.com/page/tag-group/"
  },
  "type": "object",
  "properties": {
    "size": {
      "type": "string",
      "enum": [
        "s",
        "m",
        "l"
      ],
      "default": "m"
    },
    "labelPosition": {
      "type": "string",
      "enum": [
        "top",
        "side"
      ],
      "default": "top"
    },
    "hideLabel": {
      "type": "boolean",
      "default": false
    },
    "actionLabel": {
      "type": "string",
      "description": "If undefined, this button does not appear."
    }
  }
}
← Back to home