Component Section Variant Property

Type: object

AttributeTypeDescription
idstringUnique id of the variant property
namestringName of the variant property (e.g. “type”, “state”, etc.)
valuesstring[]Possible values that the property can take (e.g. ["default", "hover", "pressed"])

Example

{
  "id": "60422281c96b47c3be1a912f",
  "name": "State",
  "values": [
    "default",
    "hover",
    "pressed"
  ]
}