handoff-app
Version:
Automated documentation toolchain for building client side documentation from figma
45 lines (44 loc) • 848 B
JSON
{
"title": "button",
"description": "",
"type": "Block",
"group": "Buttons",
"tags": [],
"previews": {
"generic": {
"title": "Generic",
"values": {
"label": "Primary CTA",
"url": "#"
}
}
},
"properties": {
"label": {
"name": "Label",
"description": "This should be the text that appears on the button",
"type": "string",
"default": "Primary CTA",
"rules": {
"required": true,
"content": {
"min": 5,
"max": 25
}
}
},
"url": {
"name": "URL",
"description": "This should be the URL that the button links to",
"type": "string",
"default": "#",
"rules": {
"required": true,
"content": {
"min": 5,
"max": 25
}
}
}
}
}