Skip to content
Get Bricks

Button

The Button element creates clickable buttons with customizable styles, sizes, and optional icons.

  • Text (text) - The button text label. Default: “I am a button”.

  • HTML tag (text) - The HTML tag to use for the button. Default: span. Changes to a automatically when a link is added.

  • Size (select) - Predefined button size. Options vary based on theme settings (e.g., sm, md, lg). Default: Default size.

  • Style (select) - Apply a predefined color style from your theme styles (e.g., primary, secondary, success, danger). Default: primary.

  • Circle (checkbox) - Make the button circular (typically used for icon-only buttons).

  • Outline (checkbox) - Apply an outline style instead of filled background.

  • Link type (link) - Configure the button link behavior, URL, and attributes.
  • Icon (icon) - Add an icon to the button from the icon library.

  • Typography (typography) - Style settings for the icon. Only available when an icon is selected.

  • Position (select) - Icon placement relative to text. Options: left, right. Default: right.

  • Gap (number with units) - Space between the icon and text.

  • Space between (checkbox) - Distribute space between icon and text to push them to opposite ends of the button.