x
1
2
3
4
5
6
7
8
<div class="flex flex-col rounded-lg text-base bg-primary-50 border border-primary-100 text-primary-800 shadow-sm" > <div class="p-6 border-b border-primary-100"> Soft Card </div> <div class="p-6"> Light colored background with subtle border. Gentle appearance. </div></div>1
2
3
4
render BetterUi::CardComponent.new(variant: :primary, style: :soft) do |card| card.with_header { "Soft Card" } card.with_body { "Light colored background with subtle border. Gentle appearance." }endNo notes provided.
No params configured.