x
1
2
3
4
5
6
7
8
<div class="flex flex-col rounded-md text-sm bg-primary-50 border border-primary-200 text-primary-900 shadow-sm" > <div class="p-4 border-b border-primary-200"> Small Card </div> <div class="p-4"> Small card with reduced padding. </div></div>1
2
3
4
render BetterUi::CardComponent.new(size: :sm) do |card| card.with_header { "Small Card" } card.with_body { "Small card with reduced padding." }endNo notes provided.
No params configured.