Buttons

Buttons allow users to perform an action or to navigate to another page. They have multiple styles for various needs and are ideal for calling attention to where a user needs to do something to move forward in a flow.

Button

Use the button component to encourage users to take action and make choices with a single click or tap. The Button component requires text and an Action .

Customizing the button

SettingDescription
NameRename how the component reads in the tree.
TextUpdate the button text
VariantBudibase buttons come in a number of different variants including, Action, Primary, Secondary, Warning, and Over Background (for colored backgrounds).
SizeChange the size of the button (Medium and Large)
QuietWhether the button should be displayed with a quiet style.
DisabledWhether the button is disabled.
On ClickClicking this button will bring up the Actions panel. In the Actions panel, you can configure and chain Actions in response to a user clicking on the button.

Adding buttons to table rows

Simply click on the table and then add the Button component.
A similar example can be found here.

🚧

Table block

You cannot add buttons to the rows of a Table Block, however you can still add row links.


Button Group

The Button Group component behaves in much the same way as a single Button component, with the added benefit of being able to configure and style multiple buttons at once. Adding a new button here will create a new button in just the same way as a Button component on it's own, but it will be part of this group. We can configure the button's actions and appearance using the cog-icon in the list of buttons. We can also drag-and-drop using the grab-handle (dots) to the left of the cog, to re-order the buttons, which will change the order they appear on the screen, as well as in the list.

You could use Button Groups in Form components, offering a variety of options for the user, which are managed and styled from one place.


What’s Next