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"> Card Header </div> <div class="p-6"> This card has a header section separated by a divider. </div></div>1
2
3
4
render BetterUi::CardComponent.new do |card| card.with_header { "Card Header" } card.with_body { "This card has a header section separated by a divider." }endNo notes provided.
No params configured.