Previews

No matching results.

x
1
2
3
<span class="inline-flex items-center font-medium rounded-full transition-colors duration-200 bg-primary-600 text-grayscale-50 px-2.5 py-1 text-sm gap-1.5">
Interactive Tag
</span>
1
2
3
4
5
6
7
8
9
10
11
12
dismissible_bool = ActiveModel::Type::Boolean.new.cast(dismissible)
as_link_bool = ActiveModel::Type::Boolean.new.cast(as_link)
render BetterUi::TagComponent.new(
variant: variant,
style: style,
size: size,
dismissible: dismissible_bool,
href: as_link_bool ? "#" : nil
) do
"Interactive Tag"
end
Param Description Input