Skip to main content

Tags Data

Tag Object

KeyTypeRequiredDescription
idnumberYesid of this tag
namestringYesname of this tag
colorstringYescolor for this tag

Example

const tags = [
{"id": 9, "name": "Gardening", "color": "#008e5b" },
{"id": 10, "name": "Art", "color": "#fdc60b" },
{"id": 11, "name": "Nature", "color": "#8cbb26" },
{"id": 13, "name": "Market", "color": "#2a71b0" }
]