Does AppSheet need a Button Maker?

Hello everyone! As usual, I’d like to share some SVG code from Gemini AI, but this time it’s something different: a BUTTON MAKER application.

​With this app, you can create buttons for AppSheet instantly. The concept is inspired by “Buy One Get One,” but here it’s “Make One, Get Nine”—one single design generates nine different variations.

​The application consists of three main sections: Flat Design, Non-Flat Design, and Animation.

​Key Features:

  • Custom Shapes: Adjust the button’s width, height, and corner radius (RX).

  • Typography: Customize the font type, size, and color.

  • Advanced Styling: The Non-Flat section is even more robust, allowing you to add gradients, shadows, and glow effects.

  • Animations: Choose from 9 different animation templates that automatically adapt to the button design you’ve created.

Link app mobile : BUTTON MAKER for APPSHEET

To copy the code for the Hyperlink Button, select the green action(SALIN KODE), then copy the code. After that, click the go to SVG viewer action to convert the SVG into base64 format.

go to SVG viewer action to convert the SVG into base64 format.

To copy the code for the Hyperlink Button from Effect. (SALIN KODE SVG effect) go to SVG viewer action to convert the SVG into base64 format.

​Steps to Create an SVG Action Button in AppSheet

1. ​Create a Virtual Column
Create a new Virtual Column (as LONG TEXT : HTML) and use the following formula struc

'<a href="your link page" target="_blank"><img src="base64" width="120"></a>'

For width adjust it to the size of your button.

​2. Convert SVG Code
Copy your SVG button code and go to “https://www.svgviewer.dev/”
to convert it into a Base64 string.

​3. Get the Data URL
Check the preview to ensure your button appears correctly. Then, look for the DATA URL section and select Base64. Copy the resulting code.

​4. Update the Formula with Base64
Replace the base64 placeholder in the formula with the Data URL you just copied:

<img src="data:image/svg+xml;base64,your_copied_code_here" width="120">

For width adjust it to the size of your button.

​5. Set the Destination Link
Replace your link page with the actual URL or target address you want the button to open:
<a href=“https://your-destination-link.com” target=”_blank">

Get link from BEHAVIOUR

SVG VIEWER (Get the Data URL base 64)

Hopefully this application can make it easier for you to create custom buttons.

8 Likes

Hello everyone,

Are there any difficulties in using the Button Maker?

2 Likes

Hi @Syamsudin ,

Your tip is good about creating buttons. I believe your tip takes care of buttons in the detail view using some SVG code, correct?

However , in AppSheet, substantial enum data entry takes place in a form view. Somehow in the form view it is not possible to add a “an app creator’s SVG code”. The current buttons shape in form view is rectangular without soft edges and bigger as compared to text in it. So it looks inelegant.

We have suggested in the past to create elegant looking buttons in the form view. Hope AppSheet team does that in the new mobile framework.

3 Likes

Hi @Suvrutt_Gurjar , “Thank you for the suggestion.”

“You’re right; this currently can’t be applied in Form or Detail views for Enum-Button selections. The example shows that using a Ref column versus an Enum with a Valid_If list results in different layouts: the list is fixed at a 1:1 ratio, while the Ref depends on the number of options. Consequently, the images do not display correctly.”

“My suggestion for the AppSheet team is to provide effect options when a user selects a button, as shown below, allowing users to simply choose the model and color.”

3 Likes