Buttons
| Class | Usage |
|---|---|
| .button | Form buttons (type #button) and submit actions. |
| .button--primary | Submit buttons (#button_type => 'primary'). |
| .button--danger | Delete links. |
| .button--small | UI buttons - block layout, field ui. |
| .button-action | Local action buttons. |
Form actions
Link button
Remove button
Theme hook suggestion: input__submit__remove_button.
SVG in template.
Was applied via hook_theme_suggestions_input_alter(), but was too broad.
Documentation
https://www.drupal.org/docs/develop/user-interface-standards/buttons
Resources
https://www.sarasoueidan.com/blog/accessible-icon-buttons/
https://www.cssmates.com/touch-friendly-button-sizes-the-minimum-tap-ta…