sycamore::web::tags

Function button

pub fn button() -> HtmlButton
Expand description

Create a <button> element.

The <button> HTML element represents a clickable button, used to submit forms or anywhere in a document for accessible, standard button functionality.

By default, HTML buttons are presented in a style resembling the platform the user agent runs on, but you can change buttons’ appearance with CSS.