x
1
2
3
<div>
<h2 class="scroll-m-20 text-2xl font-semibold tracking-tight transition-colors first:mt-0 pb-4 border-b" variant="primary" weight="medium">This is an H2 heading</h2>
</div>
1
2
3
render(TestView.new) do
TypographyH2(variant:, weight:) { "This is an H2 heading" }
end
Param Description Input