Previews

No matching results.

x
1
2
3
4
5
6
7
8
<div class="flex flex-col rounded-lg text-base bg-primary-50 border border-primary-200 text-primary-900 shadow-sm" >
<div class="p-6 border-b border-primary-200">
Solid Card
</div>
<div class="p-6">
Filled background with subtle border and dark text. Best for emphasis.
</div>
</div>
1
2
3
4
render BetterUi::CardComponent.new(variant: :primary, style: :solid) do |card|
card.with_header { "Solid Card" }
card.with_body { "Filled background with subtle border and dark text. Best for emphasis." }
end