Buttons can be used as links, and support all the same link destinations. Check the link documentation.

Additionally, buttons can be used in the context of sending visitor-submitted information to the website server. In web lingo this is called a “form”, these uses of the button are covered in the Forms section.

Buttons are highly customizable, you can set fonts and text style, background color or images, borders, shadow and colors for hover states.

Updated for Sparkle 2.2

Please report any shortcoming in this documentation and we’ll fix it as soon as possible!

This site uses cookies. Some are essential to make our site work; others help us improve the user experience. By using the site, you consent to the placement of these cookies. Read our privacy policy to learn more.