Drupal 8 Jollyness

5.7. Button

Last updated: Sat Feb 16 2019

Create a button element.

Attributes

Title: button title

Link: You can add link to button using this option

Target: Link target

Icon: You can use this option to add an icon before/after button text

Style Settings:

Button Type: type of button. It can be (following the bootstrap button style):

  • Default
  • Primary
  • Success
  • Info
  • Warning
  • Danger
  • Link

Button Outline? option: if you select this option, the button style will be same as the bootstrap outline button style

Button Size: set size for button. It can be:

  • Default
  • Large
  • Small
  • Custom Size: If you select this option, you can set the button title font size and padding

Button Block: Create block level buttons—those that span the full width of a parent

Border radius: Set button border radius

Custom Class: custom class for button.