Platform
Help center
Search…
Getting Started
Rest API
Overview - Rest API
Authentication
Templates
Image Generation
Generate image
Generate Multi-format Images
Element properties
Root
Text
Button
Image
Logo
Shape
Rating
Illustration
QR Code
Chart
Image Export
Fonts
API Reference
Dynamic Images
Overview - Dynamic Images
Dynamic Image generation with URL
Webhooks
Overview - Webhooks
Events
Powered By
GitBook
Button
Button component - Abyssale REST API
The button is basically a container
(with a background or a border)
containing a text.
Available properties:
Property
Description
payload
​
Same as Text Payload documentation
​
color
​
Same as Text Color documentation
​
background_color
Same as
color
font
font_weight
​
Same as Text Font documentation
​
font_size
Number.
Force font size in pixels
(must be > 1)
line_height
Number. Force line height in percentage (must be > 1).
This parameter is only applied when the text is a multiline one.
shadow_color
shadow_blur
shadow_offset_x
shadow_offset_y
​
Go to Shadow documentation
​
Example:
"payload": "My click to action"
"color": "#FFFFFF"
"background_color": "#1A47FF"
​
​
Previous
Text
Next
Image
Last modified
2mo ago
Copy link
Contents