Previews

No matching results.

x
1
2
3
<a href="#" class="inline-flex items-center gap-1 transition-colors duration-200 cursor-pointer text-base text-primary-600 hover:text-primary-800">
Interactive Link
</a>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
target_val = case target
when :blank then "_blank"
when :self then "_self"
else nil
end
disabled_bool = ActiveModel::Type::Boolean.new.cast(disabled)
render BetterUi::LinkComponent.new(
href: "#",
variant: variant,
style: style,
size: size,
target: target_val,
disabled: disabled_bool
) do
"Interactive Link"
end