Gradient Html Card

user
Gradient Html Card

Generates an HTML card with a title, value, and customizable background.

The value displays with a gradient effect, perfect for showing key metrics.

How to Use: Insert an HTML control and on its HtmlText call the function. Pass three parameters:

  • title: The card’s title (e.g., "Total Sales")
  • value: The value to display (e.g., "$500,000")
  • bgColor: Background color (e.g., ColorValue("#F8D5D5"))
// Example to display a Total Sales card with a light pink background
GradientHtmlCard("Total Sales", "$500,000", ColorValue("#F8D5D5"))

// Example to display New Sign-ups card with a light blue background
GradientHtmlCard("New Sign-ups", "890", ColorValue("#D5E8F8"))

No details available.

More Snippets from this Author

Page 1 of 0
Loading...

Loading...