Button (Default)

x
Param Description Input

The text label for the button.

Type of button element. Defaults to link.

Add a css modifier class.

Add another css modifier class.

The name of the icon to use. Find link to list of available options in the Notes tab.

The position of the icon relative to the text. Defaults to left.

Only used if type is form. Defaults to post.

1
2
3
modifiers = [modifier1, modifier2].compact
render DesignSystem::ButtonComponent.new(href: '.', text:, modifiers:, type:, icon:, icon_position:, disabled:,
method:)