x
1
<a class="rpf-button" href="."><span>A content button</span></a>
1
2
3
render DesignSystem::ButtonComponent.new(href: '.', modifiers:, type:, icon:, icon_position:, disabled:, method:) do
tag.span('A content button')
end
Param Description Input

Type of button element. Defaults to link.

—

—

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

—

Only used if element is form. Defaults to post.