Previews

No matching results.

x
1
2
3
4
5
6
<div class="text-left">
<div class="flex items-center justify-between">
<h2 class="text-3xl font-semibold" >Heading with Rich Subtitle</h2>
</div>
<p class="mt-1 text-grayscale-500 text-base"><span>Rich subtitle with <strong>bold text</strong> and <em>emphasis</em></span></p>
</div>
1
2
3
4
5
6
render BetterUi::HeadingComponent.new(level: :h2) do |heading|
heading.with_subtitle do
"<span>Rich subtitle with <strong>bold text</strong> and <em>emphasis</em></span>".html_safe
end
"Heading with Rich Subtitle"
end