Button
The action a person takes, labelled with exactly what happens.
- One
primarybutton per screen, for the main action. Everything else is the plain button;ghostfor cancel and dismiss;dangeronly for destructive actions. - Use
smallinside lists and cards. - You provide the label and the handler. Start the label with a verb, in sentence case: "Add a tool", "Save answer".
- Hover fades border and background over
duration-hover; a press moves it 1px overduration-press.