Buttons allow users to take actions, and make choices, with a single tap.
In your application install:
npm install "@material/button"In your Sass file import:
@import "@material/button/mdc-button";import Material.Button as Button
import Material.Options as Options
Button.view
[ Options.onClick Inc
, Button.disabled False
, Button.raised
]
[ Html.text "+" ]Buttons property type.
Indicates whether the user can interact with a button.
Adds an icon with name to a button.
Styles an outlined button that is flush with the surface.
Styles a contained button that is elevated above the surface.
Styles a contained button that is flush with the surface.
Makes the button text and container slightly smaller.
Renders a button.