Previews

No matching results.

x
1
2
3
4
5
6
7
<button class="lui-button lui-button--size-default lui-button--core--primary w-fit w-fit" data-controller="lui--button">
<i class="lui-button__icon lui-button__icon--default fa-regular fa-plus-large" data-lui--button-target="leadingIcon"></i>
<span class="lui-button__text" data-lui--button-target="text">
Button
</span>
<i class="lui-button__icon lui-button__icon--default fa-regular fa-arrow-up-right-from-square"></i>
</button>

No Usage documentation to display.

1
2
3
4
5
6
7
8
9
10
11
resolved_text_color = text_color || LooposUi::Colors.find("general-global-white")
render(LooposUi::Button.new(
type: :primary,
size: :default,
text: "Button",
leading_icon: "fa-regular fa-plus-large",
trailing_icon: "fa-regular fa-arrow-up-right-from-square",
primary_color: primary_color,
hover_color: hover_color,
text_color: resolved_text_color
))
Param Description Input

Primary background color (hexadecimal)

Hover background color (hexadecimal)

Text color (hexadecimal)